8 ms·
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 }
by yaldasoft 13y 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 }