Skip to content

Instantly share code, notes, and snippets.

@georgeOsdDev
Created March 12, 2013 08:34
Show Gist options
  • Select an option

  • Save georgeOsdDev/5141186 to your computer and use it in GitHub Desktop.

Select an option

Save georgeOsdDev/5141186 to your computer and use it in GitHub Desktop.
Grep keyword from all sources of Project.
find /path/to/Project -type d -name .git -prune -o -name "*" -print | xargs grep "some regexp" >> result.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment