This doesn’t work perfectly, but I often use it to start tracking down disk hogs:
To return the 10 largest items in a given directory:
du -cksh * |sort -rn |head -11
Some times it’s helpful to view all
du -cksh * |sort -rn
If someone has a better approach, please comment.
Recent Comments