Skip to content

Instantly share code, notes, and snippets.

@jamesvulling
Created March 25, 2013 03:29
Show Gist options
  • Save jamesvulling/5234749 to your computer and use it in GitHub Desktop.
Save jamesvulling/5234749 to your computer and use it in GitHub Desktop.
Handy shell one-liners
# pipe file search to rm
find . -name '*.txt' | xargs rm
find . -name '*.txt' -exec rm {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment