Live data from Hacker News

Show HN: Leaves – A text-UI disk usage treemap visualizer

github.com

31–34 of 34 posts

Re: Show HN: Leaves – A text-UI disk usage treemap visualizer

#32
I’ve been using ncdu and WinDirStat for years. This looks awesome. One feature I’d love to see is exporting the results as HTML+SVG reports. I maintain a shared server, and it’s often useful to share a report with the team to figure out who’s using up the disk space.

Re: Show HN: Leaves – A text-UI disk usage treemap visualizer

#33

This is the kind of tool that should be baked into the kernel. It's never there when you need it, and when you do need it, it is probably already a full disk and you maybe can't just download it.

Had this happen to me just last week. Had forgotten to change the “to download into” directory in an GOG archive script after migration to a new system. Filled a folder on the system disk instead of my intended ZFS array. Naturally ncdu wasn’t installed, so it took me a bit to figure out what the heck happened. It’s interesting and ironic how so many things in proxmox that would normally release space, instead become…

On ZFS it often is old snapshots and it is surprisingly hard to find out how much space will be freed after destroying one.

I found out that 'zfs destroy' has a dry-run option along with one that can show reclaimed space. After this i hacked together a little cli tool [1] that calculates what snapshots need to be deleted to reclaim e.g. 10GB.

It's not really production ready but from time to time it's useful :-)

1: https://github.com/sandreas/zfs-tool

Re: Show HN: Leaves – A text-UI disk usage treemap visualizer

#34
I found the bottom-right corner of things in my home dir I had no idea about was the lowest hanging fruit. I think this is because my typical cleaning routine was either A. to have claude code find big files I could delete or B. du -sh -- *, which is too slow on ~. Thanks for the decluttering!
Post reply on HN