Hacker News new | ask | show | jobs
by y4mi 3483 days ago
oh yes, i mostly don't bother with 'du -sch' anymore since ive come to know ncdu
1 comments

Have you tried

  du -macx ~ | egrep '^[0-9]{2}' | sort -n

egrep filter for files at least 10m ends up being a nice speed up, otherwise you end up spending most of the time sorting all the tiny files to the top while up writing hundreds of megabytes of /tmp/sortXXXX files in the process.