Register now and start sharing your code snippets.
-->
Work around for "bash: /bin/rm: Argument list too long"
Shell Script (Bash) posted 5 months ago by christian
Use find instead of rm:
1 find . -name '*' | xargs rm
The command deletes all files in the current directory.