If the desire is literally the largest file in all the sub directories,
just use
ls -lR | sort +3
-W
At 10:49 AM 2/10/2001, Moritz Schulte wrote:
angus debian <[EMAIL PROTECTED]> writes:
> I would like to list the files by size include all
> sub-directory.
Uhm, it's a quite ugly hack,
angus debian <[EMAIL PROTECTED]> writes:
> I would like to list the files by size include all
> sub-directory.
Uhm, it's a quite ugly hack, because I'm not familiar with sed/awk,
but this seems to work:
find . -type f | xargs ls -lk | awk '{ print $5 "\t" $0 }' \
| sort -nr | sed -e 's/^[0-9
2 matches
Mail list logo