pull down to refresh
10 sats \ 1 reply \ @nkmg1c_ventures 22 Aug 2023 \ parent \ on: Daily discussion thread
Cool!
I have an alias for the base 'du' command with some sorting and human readability logic, very useful on small hosted boxes with limited space. Lots of npm projects and SSH'ing via VSCode will create large folders without you realizing.
Gives you the 15 largest files / folders with human readable filesize outputs. From there I usually just rm -rf it.
Yeah, I actually found ncdu while searching for a command like that one.
To be honest, ncdu is a game changer. And it even works on servers or local machines because it's all terminal based, but also very intuitive.
I literally recovered 500GB in a few seconds with it. Great to find those temp files, and many other things that just keep increasing.
reply