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.

Reply via email to