3 ms·
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 sto
by LeoPanthera 2y ago
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.
- user3939382 2y agoDaisyDisk is an awesome macOS GUI version of this app
- angch 2y agoThere'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.
- arcanemachiner 2y agoI switched to gdu a couple years back for reasons that I do not remember. I think it is faster or something.
- qwertox 2y ago`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.
- LeoPanthera 2y agoSadly 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.
- xxpor 2y agodon't execute a (space taking) write operation when the user requests a read seems to be a reasonable rule for most things.
- wonger_ 2y agoI'm a big fan of godu: https://github.com/viktomas/godu https://github.com/viktomas/godu
- nickcw 2y agoYou can use `rclone ncdu` to work in a very similar way on any cloud storage that rclone supports https://rclone.org/commands/rclone_ncdu/ https://rclone.org/commands/rclone_ncdu/ I love ncdu and this is my homage to it!
- jowea 2y agoIf you want it RIIR there dua: https://github.com/Byron/dua-cli https://github.com/Byron/dua-cli