Hacker News new | past | comments | ask | show | jobs | submit login

I like "ncdu", a TUI equivalent for Unixy systems.

Although I learned the hard way that if you run it on a Mac home folder, and have iCloud's "optimize Mac storage" turned on, macOS will suddenly try to download literally everything in your iCloud storage to try to count the size of it, probably filling your disk. Oops.




There's also "diskonaut", a TUI which displays the output like the treemap of WinDirStat. Bonus is that the display is incremental and updates as it scans everything, so you don't need to wait for the complete scan to see how everything looks like.

Written in Rust, and it's a `cargo install diskonaut` away if you have the rust toolchain installed.


You can use `rclone ncdu` to work in a very similar way on any cloud storage that rclone supports

https://rclone.org/commands/rclone_ncdu/

I love ncdu and this is my homage to it!


`ncdu` has the `-x` flag which means that "Only count files and directories on the same filesystem as the specified dir.".

Maybe that could help.


Sadly it does not help, the files appear to be normal files in the same filesystem, macOS simply does magic behind the scenes.

You have to manually tell ncdu not to scan the ~/Library/Mobile Documents directory.


DaisyDisk is an awesome macOS GUI version of this app


I’m still using the free OmniDiskSweeper from the legendary OmniGroup


When mentioning ancient utilities, I'm still on Disk Inventory X.


I switched to gdu a couple years back for reasons that I do not remember. I think it is faster or something.


If you want it RIIR there dua: https://github.com/Byron/dua-cli


I'm a big fan of godu: https://github.com/viktomas/godu


don't execute a (space taking) write operation when the user requests a read seems to be a reasonable rule for most things.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: