Skip to content

Instantly share code, notes, and snippets.

@minichiello
Created May 16, 2009 21:06
Show Gist options
  • Save minichiello/112803 to your computer and use it in GitHub Desktop.
Save minichiello/112803 to your computer and use it in GitHub Desktop.
Argument_list_too_long.sh
#!/bin/bash
# rm -f *.xml
# -bash: /bin/rm: Argument list too long
find . -name '*.xml' | xargs rm -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment