searching for a file

Juergen Wagner gandalf at csli.Stanford.EDU
Wed May 10 11:50:27 AEST 1989


In article <1530 at cmx.npac.syr.edu> gefuchs at logiclab.cis.syr.edu (Gill E. Fuchs) writes:
>
>how would one search for a filename in a directory hierarchy?
...
>i was thinking of using :
>        find . -name 'gugu' -print
>but obviously that only works for the current directory
>how would one make that a recursive search, something a la ls -R

"find" *WILL* perform a recursive search unless it is told otherwise. TFM
mentions that "find" searches the tree starting at the directories listed
(in this case: starting at "."). That's the whole point why "find" is used.

-- 
Juergen Wagner		   			gandalf at csli.stanford.edu
						 wagner at arisia.xerox.com



More information about the Comp.unix.questions mailing list