Find 50 biggest files

5 Aug 2007

Here’s how to find the 50 biggest files on a partition:

sudo find / -xdev -type f -printf "%15s %pn" |sort -nr | head -50 | less

Thanks to Erik de Castro Lopo, SLUG list.

comments powered by Disqus

  « Previous: Next: »