Argument List Too Long When Removing Files

If this doesn’t work:

rm *.filetype

Try this:

find . -maxdepth 1 -name "*.filetype" -print0 | xargs -0 rm



Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • How to Use VIM and MATLAB
  • Why is the Sky Blue?
  • When Does Something Become Quantum?
  • A Visual Guide to the Uncertainty Principle
  • How to Probably Win at Rock, Paper, Scissors