Created
October 13, 2011 07:25
-
-
Save ysawa/1283650 to your computer and use it in GitHub Desktop.
search text in the directory recursively
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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