Work around for "bash: /bin/rm: Argument list too long"

Shell Script (Bash) posted over 2 years ago by christian

Use find instead of rm:

   1  find . -name '*' | xargs rm

The command deletes all files in the current directory.

Tagged rm, delete, bash