Skip to content

Instantly share code, notes, and snippets.

@ysawa
Created October 13, 2011 07:25
Show Gist options
  • Save ysawa/1283650 to your computer and use it in GitHub Desktop.
Save ysawa/1283650 to your computer and use it in GitHub Desktop.
search text in the directory recursively
#!/bin/sh
find . -type f | grep -v "\/\." | xargs grep $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment