Created
September 17, 2012 16:14
-
-
Save mordonez/3738249 to your computer and use it in GitHub Desktop.
Linux or Unix find and remove files on fly
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
Linux or Unix find and remove files with one find command on fly | |
find . -name "FILE-TO-FIND"-exec rm -rf {} \; | |
find . -type f -name "FILE-TO-FIND" -exec rm -f {} \; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment