Skip to content

Instantly share code, notes, and snippets.

@tyrannasaurusbanks
Created July 24, 2013 13:27
Show Gist options
  • Save tyrannasaurusbanks/6070567 to your computer and use it in GitHub Desktop.
Save tyrannasaurusbanks/6070567 to your computer and use it in GitHub Desktop.
find and execute command on results
find modules -name 'file_name_to_look_for' -exec grep -sH 'string_or_regex_to_be_found' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment