Skip to content

Instantly share code, notes, and snippets.

@reidransom
Created January 17, 2013 21:07
Show Gist options
  • Save reidransom/4559749 to your computer and use it in GitHub Desktop.
Save reidransom/4559749 to your computer and use it in GitHub Desktop.
Recursive Delete
# directory
find . -type d -name "FILENAME" -exec rm -rf {} \;
# file
find . -type f -name "FILENAME" -exec rm -f {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment