-
Website
http://www.tech-recipes.com/ -
Original page
http://www.tech-recipes.com/rx/732/recursive-grep/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
davak
83 comments · 1 points
-
danishbacker
9 comments · 1 points
-
flexinfo
11 comments · 1 points
-
bej
4 comments · 1 points
-
dimithri
5 comments · 1 points
-
-
Popular Threads
-
Windows 7: How to Prevent the Mouse from Waking your PC
1 week ago · 2 comments
-
Outlook 2010: Turn Off Attachment Preview
2 weeks ago · 2 comments
-
Gmail: How to Send SMS Messages Without Using Email
3 weeks ago · 2 comments
-
Thunderbird 3: How to Download Images Automatically
2 weeks ago · 1 comment
-
Windows 7 – Prevent Live Messenger from Opening at Start Up
2 weeks ago · 1 comment
-
Windows 7: How to Prevent the Mouse from Waking your PC
It is one of those days.. I spent almost an hour for this.....
Best, peace...
Hal
It gives output like this:
/users/hattb/shirley_test_file
The -type f switch tells it to only look in text files.
If you want to redirect the output to a file:
find /users/hattb -type f -name "*" -exec grep -ls sqlload {} ; >out.txt
Hope this helps,
Shirley
is easier to type :-)
xargs rocks.
for i in `find <path>`; do grep <pattern> $i; done