[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to find files by text/subdirectories



In foo.debian-user, you wrote:
> Lance Hoffmeyer <lanceh@ibm.net> writes:
> > What is the easiest way to locates files (say HTML) by text in their
> > documents?  
> 
> find ~/somedir -iname "*\.htm*" -exec grep -i "some text" {} \; -print

Also look at the 'rgrep' package.

rgrep "some text" /somedir

-Mitch


Reply to: