Created
January 17, 2013 21:07
-
-
Save reidransom/4559749 to your computer and use it in GitHub Desktop.
Recursive Delete
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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