Skip to content

Instantly share code, notes, and snippets.

@og-shawn-crigger
Created April 29, 2012 06:00
Show Gist options
  • Save og-shawn-crigger/2533893 to your computer and use it in GitHub Desktop.
Save og-shawn-crigger/2533893 to your computer and use it in GitHub Desktop.
Quick Find and Recursive Delete Files and Folders in BASH matching a pattern currently set as *.orig for GIT merges
find . -name *.orig.* -type f -exec rm {} \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment