*nix – deleting all files in a folder (0000′s)
When ‘rm’ says ‘too many arguments’, use the following to erase all the files in a folder:
find . -type f -print | xargs -n 20 rm
When ‘rm’ says ‘too many arguments’, use the following to erase all the files in a folder:
find . -type f -print | xargs -n 20 rm