Re:A faster way to delete millions of files in a directory
by psutor on Saturday June 01, 2013 @08:58AM
(#5803760)
I use perl for this as well.
It is very efficient memory-wise compared to the other options as well as being much faster.
It is also easy to apply filters as you would with -mtime or such in find, just change the end statement to:
to affect files modified more than 30 days ago.
[ Parent
| on HN ]