Am 2008-02-24 17:51:48, schrieb Rodolfo Medina:
> Hi.
> 
> I want to sort all files with, say, .txt extension that are in the directory
> `/path/to/dir' and all its subdirectories, and I want to perform this search
> starting from the directory itself: how can I do that?
> 
> I didn't manage with `find'.
> 
> Thanks for any suggestion
> Rodolfo
> 
> e.g.: suppose that in my home directory there are dir1 and dir2 and the
> following files:
> ~/file ~/dir1/file1 ~/dir/file2
> I want the result of my search to be:
> file
> file1
> file2

    find /path/to/dir -type f -name "*.txt" |sort

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

Reply via email to