When deleting a lot of files with rm *
the following error occurred:
-bash: /bin/rm: Argument list too long
For some reason rm is not able to delete too many files in a directory.
Solution
find . -name '*' | xargs rm
Categorieën
UNIX