Post

Finding recursively for text in a folder

In Uncategorized on April 3, 2009 by editor

The command below recursively finds all files that have the word foo in it from the current directory down

find . -name “*” -print0 | xargs -0 grep foo

Leave a Reply

You must be logged in to post a comment.