4 ms·
Slightly related utility I discovered to my great delight today: ncdu - "htop for disk space usage" https://dev.yorhel.nl/ncdu https://dev.yorhel.nl/ncdu
by j_s 10y ago
Slightly related utility I discovered to my great delight today: ncdu - "htop for disk space usage"
https://dev.yorhel.nl/ncdu https://dev.yorhel.nl/ncdu
- y4mi 10y agooh yes, i mostly don't bother with 'du -sch' anymore since ive come to know ncdu
- justinsaccount 10y agoHave 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.
- agumonkey 10y agoncdu has an option to store the scanned fs and display it again without walking the FS; useful if you're dealing with deep mess and slow, remote or else data.