dfdu scans your disk in parallel and tells you what's safe to delete
Dfdu: Fast disk usage browser for the terminal and desktop
A Rust disk usage browser for the terminal and desktop that scans in parallel, tuned to the storage device, and lets you start browsing before the scan finishes. A cleanup view recognizes caches, build folders, SDKs, and old installers, rating each for deletion safety and freed space, with extendable rules. It also offers a treemap, duplicate and largest-file views, scan history and diffs, ssh remote browsing, JSON output, CI size limits, and ncdu export import. Deletes go to the Trash by default.
Every scan is recorded, so you can ask what grew since last week.
- bloopernova
Since there's a few shares of people's disk usage apps, I wanted to pitch in too.
https://tangled.org/zip.mu.social/getael
Getǣl is a read-only cross-platform home directory disk usage visualizer. It's written in Rust, runs in a tray or as a service, and opens a browser view with no less than 8 different views of what is using space in your homedir. I wanted it restricted to my $HOME because that was where most of the space was being used, mostly on Rust/cargo builds, but also the Library folder on macOS was bugging me.
It stays in memory and reads file events to keep up to date with your disk usage, saving it in a trimmed down sqlite db. Also shows time machine local snapshots if that's enabled on your macOS box. I think the constellation view is my favourite :)
(tangled is a git host that runs on ATProto, the same thing behind Bluesky)
- baalimago
Neat! I don't mean to do the classic HN "comment to promote other thing" (even if I technically am), but I built https://github.com/baalimago/duls which also spawned from wanting to have a faster du/df experience. Pivot I took with duls is to bake in context from files directly into the view, and summarize "all you need to know" into a limited terminal space (as opposed to a tui). It also scans until the time runs out, giving best effort within that window, continuously appending context.
It's not at all as feature complete as Dfdu, and it doesn't try to be. Might serve for some inspiration for features. Good job OP!
- Tepix
Why not upstream improvements to ncdu? Have you tried?
- forgotpwd16
Looks very nice. Compared to ncdu, good added features w/o bloat. For NTFS drive scans (especially since also targets Windows), rather (assume does) using a regular "walk every directoy" approach, can utilize MFT for improved speed. (What WinDirStat's doing.) Also, one of the rare occasions project doesn't brand itself "written in Rust".
- dimator
Something I'm curious about:
https://github.com/jordond/dfdu/commits/main/
The commit history is roughly 99% bot generated, tweaking dependency versions. What's the value of all these? Is it to mostly simulate an active project?