Created
August 17, 2013 14:45
-
-
Save RIAstar/6257229 to your computer and use it in GitHub Desktop.
[shell] recursively delete file type
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
#with confirmation | |
find . -type f -name "*.tmp" -exec rm -i {} \; | |
#without confirmation | |
find . -type f -name "*.tmp" -exec rm -f {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment