Hacker News new | ask | show | jobs
by yaldasoft 4808 days ago
I had to delete a few million files in bash once. 'find' didn't work. I used perl to overcome the issues.

opendir D, "."; while ($n = readdir D) { unlink $n }