dua is more like ncdu in rust, less stale too
Programming
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
Sadly unmaintained
ncdu is df but interactive.
Don't you mean du
?
Maybe. I always confuse them, get a sccreen full of output and then use the other.
Thank you!
Better? This is absolutely awful if you have more than a handful of directories and files. It just shows the top directories and excludes everything that doesn't fit. Directory names are truncated if they don't fit so it's difficult to know what "ti[...]e/" is.. And you get this weird XXXXX lump for small files.
gdu
is a slightly "nicer" looking ncdu and much faster than this.
And if looking for Rust alternatives, there's dua
.
Particularly user friendly when called in interactive mode with dua i
, you can navigate the tree immediately as it populates and calculates space progressively.
I don't look for apps based on what language they're written in.
And I sure as hell don't install apps that use "curl" to fetch an install script and pipe it to a shell. This practice needs to die in a fire.
Oh nice. gdu really is ncdu, just faster (on SSDs).
Link for lazy people: https://github.com/dundee/gdu
Doesn’t seem to cope well with hardlinks, also last commit was 2 years ago…
...but it's Rust!
Really wish the rusticles out there realised that the language is not a feature for user-space apps. Nobody cares if their disk utilisation tool is in Rust. All that matters is that gives useful information in a timely fashion.
Nobody cares if their disk utilisation tool is in Rust.
Wrong. You don't care. There are people who care. Not every information must meet your personal needs in order to be mentioned in the title. Edit: Also we are in a programming community, so this makes you double wrong.