Search for files

Hi.

Is there a way to search for a file or group of files. Can we include sub
directory searches?

Thanks

Augie

Augie Henriques <augiehenriques@hotmail.com> wrote:
: Hi.

: Is there a way to search for a file or group of files. Can we include sub
: directory searches?

How about this:

find -type f -name “”

Is that what you’re looking for?


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

One way is use to ls.

ls –Rp gives a listing of files with their paths, goes into sub-dirs
too.

You can then either do:
ls –Rp | grep name_to_search_for
Or :
ls –Rp > temp.txt
Then edit temp.txt and search for text, handy if you’re looking for
multiple names.

Vince

In article <90gvqq$857$1@inn.qnx.com>,
“Augie Henriques” <augiehenriques@hotmail.com> wrote:

Hi.

Is there a way to search for a file or group of files. Can we
include sub
directory searches?

Thanks

Augie

Sent via Deja.com http://www.deja.com/
Before you buy.