[ILUG] searching multiple directories

Padraig Brady Padraig.Brady at digital.com
Thu Aug 26 16:51:39 IST 1999


> >How would I go about searching for an occurrence of a word 
> in a folder
> >with multiple subdirs, and have it search those subdirs 
> recursively for
> >the word as well? There isn't any '-R' flag or the like for 
> grep, is there
> >(a la cp -R or cmod -R)?
> >
> Maybe rgrep -r is what you want.

find . -name '*' | xargs grep "word"




More information about the ILUG mailing list