Jump to content

bash: /bin/rm: Argument list too long

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Prog

Prog

    Learning Programmer

  • Members
  • PipPipPip
  • 98 posts
I'm trying to delete the mail items in a directory but when I execute this command:


rm -rf *


I get this error:

Quote

bash: /bin/rm: Argument list too long

Anyone have any ideas how I can delete these files?

#2
Tor

Tor

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 486 posts
What about just deleting the directory and then recreate it? Does that work?