Deleting millions of files
Jump to navigation
Jump to search
Deleting millions of files
When you have a file system with 100,000s or more of files, rm will not work. It will eventually come back and say bash: /bin/rm: Argument list too long or some such.
This command will work:
find . -exec rm {} \;