News for hackers. Stuff that matters.
Re:Sort of handy by markrages on Thursday May 21, 2020 @01:07AM (#23255002)
Thanks for posting this. My knowledge of "sort" predates this switch.

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.

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.

Re:Sort of handy by Scaevolus on Thursday May 21, 2020 @04:59AM (#23256262)

    -a, --all
        write counts for all files, not just directories
Re:Sort of handy by hibbelig on Thursday May 21, 2020 @08:15AM (#23257468)
I like ncdu.
Re:Sort of handy by dnpp123 on Thursday May 21, 2020 @08:58AM (#23257809)
I prefer https://github.com/bootandy/dust , more lightweight
Re:Sort of handy by markrages on Thursday May 21, 2020 @04:16PM (#23264474)
I prefer http://fsv.sourceforge.net/, more heavyweight.