Skip to content

Instantly share code, notes, and snippets.

@mordonez
Created September 17, 2012 16:14
Show Gist options
  • Save mordonez/3738249 to your computer and use it in GitHub Desktop.
Save mordonez/3738249 to your computer and use it in GitHub Desktop.
Linux or Unix find and remove files on fly
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