[solved] Re: How to sort files in a directory?
Jeff D <fixedored@gmail.com> writes:
Rodolfo Medina wrote:
>> 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
Thanks to all who replied. It seems that for my purposes this works:
$ cd /path/to/dir
$ ls *.txt */*.txt | sort
Bye
Rodolfo
Reply to: