Re:Sort of handy
by LeoPanthera on Thursday May 21, 2020 @03:17AM
(#23255673)
I always use this construction for "where did my space go":
du -ha ~ | sort -hr | head -n 12
-a is the important bit, it recurses down through every directory.
Replace ~ with / or whatever directory you want.
-a, --all
write counts for all files, not just directoriesI like ncdu.
I prefer https://github.com/bootandy/dust , more lightweight
I prefer http://fsv.sourceforge.net/, more heavyweight.
I wish there was a common command-line tool for "where did all my space go?" It could look at file and directory sizes and modification times, and list the most likely suspects.