Thank you very much, whitney!
Your solution is(and works) great and simple.
I dont understand xargs yet, but I will look up the manual.
You have not only answered my questions, but many other newbies's
You do a great job, thanx!!!
Am 14-Dec-99 schrieb [EMAIL PROTECTED] ::
> find -type f |xargs ls -l |sort -r -k 5,5
>
> I use -type f because AFAIK only regular files have a size that means
> anything.
>
> Lawson
> >< Microsoft free environment
>
> This mail client runs on Wine. Your mileage may vary.
>
>
> On Tue, 14 Dec 1999, Guenther Sohler wrote:
>
>> Hello list,
>>
>> I have got a very simple problem
>>
>> I want to get the most biggest files in a directory tree
>>
>> my first apporach was following
>>
>> ls -lR | sort -r -k 5,5
>>
>> But this is not sufficient, because I need the full location of the
> file
>>
>> the second approach was
>>
>> find . -name "*" -exec ls -ld {} \; | sort -r -k 5,5
>>
>> This works, but it is far too slow, I have thousands of files to
> process
>>
>> My rerquirements are follwing
>> * I want to detect all files recursivelyt, wherever they are
>> * Just put them into a pool and list them with full path, sorted by the
> biggest
>>
>> Do you know a solution ?
>>
>> Can you make ls printing the full path name when listing recursively ?
>>
>> Thanx in advance.
>>
>
>
>
>
> ___________________________________________________________________
> Why pay more to get Web access?
> Try Juno for FREE -- then it's just $9.95/month if you act NOW!
> Get your free software today: http://dl.www.juno.com/dynoget/tagj.