Sizable (szb) helps answering this question quickly: what files or folders are eating up my disk space?
Through a text-based user interface similar to mc or ranger, it lets you browse the file system tree and delete the useless files and directories that take up space.1
📰 UPDATE 📰 : I found ncdu, which does much of what I need, so I don't think I'll actively work on this anymore.
To only print the result for the input folder, you can use the -p
flag.
USAGE: szb [--help] [--version] [--print-only] [<path>]
INPUT:
<path> the directory to analyse (default: current directory)
OPTIONS:
--version print szb version
--print-only, -p output the results to screen and exit
--help display this list of options.
1: Notice that, as suggested here, with ranger you can achieve more or less the same result, but just for a single level in the file system hierarchy. Besides ranger doesn't run natively on Windows.