Skip to content

Instantly share code, notes, and snippets.

@samdoidge
Created October 11, 2013 10:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samdoidge/6932864 to your computer and use it in GitHub Desktop.
Save samdoidge/6932864 to your computer and use it in GitHub Desktop.
grep exclude file extension, recursively search through current directory
grep -r --exclude '*.sql' 'search string' .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment