Possible Duplicate: Tools to search for strings inside files without indexing Before I make one, any good tools out there for free/cheap that will recurse through. How do i recursively grep all directories and subdirectories? find. | xargs grep 'texthere' *.
If you want to grep recursively in all.eml.gz files, you can use: find -name \*.eml.gz -print0 | xargs -0 zgrep 'STRING' You have to escape the first '*' so that the. Grep is used to search text for patterns specified by the user. It is one of the most useful and powerful commands on Linux and other Unix-like operating systems. How to grep through sub-directories whether or not your Unix has recursive (GNU) grep.
![grep recursively search files grep recursively search files](http://i1-win.softpedia-static.com/screenshots/Easy-GREP_1.png)
H ow do I recursively search all text files for a string such as foo under UNIX / Linux / *BSD / Mac OS X shell prompt? You can use grep command or find. Unix and Linux grep command help, examples, and additional information.
![grep recursively search files grep recursively search files](http://photos1.blogger.com/blogger/7506/607/1600/windows-grep.jpg)
![grep recursively search files grep recursively search files](http://img181.imageshack.us/img181/87/searchhj2.gif)