/bin/rm: Argument list too long.

If you try and use ‘rm -rf’ you’ll generally get this error:

/bin/rm: Argument list too long.

So, let’s do it differently. We’ll use ‘find’ to find every file and pass it only ‘rm’ like so:

find . -type f -exec rm -v {} \;

This will delete the files.

Bookmark the permalink.

One Response to /bin/rm: Argument list too long.

  1. prabhu says:

    Good One

Leave a Reply