this post was submitted on 13 Dec 2024
54 points (87.5% liked)

Programming

17651 readers
327 users here now

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]



founded 2 years ago
MODERATORS
top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 24 points 5 days ago* (last edited 5 days ago) (2 children)

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.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago) (1 children)

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.

[–] [email protected] 1 points 16 hours ago* (last edited 16 hours ago)

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.

[–] [email protected] 8 points 5 days ago

Oh nice. gdu really is ncdu, just faster (on SSDs).

Link for lazy people: https://github.com/dundee/gdu

[–] eager_eagle 13 points 4 days ago

dua is more like ncdu in rust, less stale too

https://github.com/Byron/dua-cli

[–] [email protected] 11 points 5 days ago (1 children)

Doesn’t seem to cope well with hardlinks, also last commit was 2 years ago…

[–] [email protected] 5 points 4 days 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.

[–] [email protected] 5 points 4 days ago

Sadly unmaintained

[–] [email protected] 5 points 5 days ago* (last edited 5 days ago) (2 children)

ncdu is df but interactive.

[–] [email protected] 2 points 3 days ago (1 children)
[–] [email protected] 1 points 3 days ago

Maybe. I always confuse them, get a sccreen full of output and then use the other.

[–] [email protected] 2 points 4 days ago