Re: find and list only files


Subject: Re: find and list only files
From: volz (volz@koyukuk.at.uaa.alaska.edu)
Date: Fri Jan 17 2003 - 13:08:06 AKST


Like this?

/home/admin,81-> find . -name "*.tar" -print
./logs/data_tape_logs/all.01.logs.tar
./logs/data_tape_logs/eta/j2.tar
./logs/data_tape_logs/xfer/02.043-048.data.tar
./logs/data_tape_logs/temp/001-099.01.logs.tar
./logs/data_tape_logs/temp/100-199.01.logs.tar
./logs/data_tape_logs/temp/200-299.01.logs.tar
./logs/data_tape_logs/temp/300-365.01.logs.tar
./logs/data_tape_logs/02.000-099.logs.tar
./logs/data_tape_logs/02.100-199.logs.tar
./logs/data_tape_logs/02.200-299.logs.tar
./temp/eta.compare.data.tar
./temp/eta.compare.plots.tar
./restore/logs/001-099.01.logs.tar
./restore/logs/100-199.01.logs.tar
./restore/logs/200-299.01.logs.tar
./restore/logs/300-365.01.logs.tar

there must be a way to get full path names too. but I don't know it
Karl

volz@aeff.uaa.alaska.edu

>What's the find syntax to search a tree but list only the files (along with
>the full path) found? Not the empty subdirs, just the full filenames.
>
>thx,
>
>Lee
>
>
>---------
>To unsubscribe, send email to <aklug-request@aklug.org>
>with 'unsubscribe' in the message body.
>

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Fri Jan 17 2003 - 13:10:47 AKST