I typically investigate with ncdu
which gives very useful visualization like :
***
/home/fabien/Prototypes/esphome/.esphome ----------------------------------------------------------------------------------------------------------------
/..
3.1 GiB [######################] /platformio
218.1 MiB [# ] /build
28.0 KiB [ ] /idedata
8.0 KiB [ ] /storage
and let's you iterate. Here for example you'd go into platformio
and get another view, press d
to delete files or directories that aren't needed anymore if it's a stale project e.g. node_modules
. Go back, etc.
So yes, warmly recommended, both on desktop and remote servers. It's way easier IMHO that du -sh ./directory
then cd
, rinse and repeat. It's also way WAY faster then GUI equivalents ... because you navigate and take action, e.g. delete, with your keyboard.
All that being said, if it's about your filesystem rather than your files, it probably won't help much. I don't know enough about btrfs to help unfortunately.