Powered by coANDco UK

Howto delete large amount of files

From How2s

Sometimes, using the terminal, you may run into problems with the

rm *

command as it can only deal with the maximum of 1024 files per request. You will get the error

rm argument too long

The solution is simple: Run a

find

command and pipe the results of it into the

rm 

command:

find . -name '*' | xargs rm

good luck!

Please check out our sponsor, thanks to whom How2s.org is FREE: