Find largest directories/files recursively

Posted by Robert Munteanu on Server Fault See other posts from Server Fault or by Robert Munteanu
Published on 2009-06-12T21:27:51Z Indexed on 2010/06/08 17:02 UTC
Read the original article Hit count: 240

Filed under:
|

I'm looking for a script/program which will display the top x largest directories/files and then descend into those folders and display the x largest directories/files for a configurable depth.

231MB bin
 - 220MB ls
  - 190MB dir
  - 15MB def
  - 3MB lpr
 - 10MB asd
 - 1MB link

How can I do that?

© Server Fault or respective owner

Related posts about linux

Related posts about disk-usage