[Dclug] Recursively listing files by some category

Kevin Cole dc.loco at gmail.com
Wed May 21 07:59:25 EDT 2008


On Wed, May 21, 2008 at 7:23 AM, Gururajan Ramachandran
<gururajan20815 at yahoo.com> wrote:
> Hello,
>
> A line such as:
>
> find . -type f -print | xargs -n 600000 ls -lart
>
> works upto a certain point. At some point something
> like this runs out of shell buffer space if the number
> of files and directories are large enough.
>
> Are there any utilities that can recursively list
> files sorted by some category (date or size or etc...)
> irrelevant of the number of files?

Why are you piping it?  Why not use find's own sort mechanisms ( "-t"
for time, "-S" for size, etc.)?  Or did I misunderstand the question?



More information about the Dclug mailing list