this post was submitted on 13 Dec 2024
56 points (85.9% liked)

Programming

17677 readers
71 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 !webdev@programming.dev



founded 2 years ago
MODERATORS
top 14 comments
sorted by: hot top controversial new old
[–] atzanteol@sh.itjust.works 24 points 2 weeks ago* (last edited 2 weeks 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.

[–] verstra@programming.dev 8 points 2 weeks ago

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

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

[–] Ferk@programming.dev 2 points 1 week ago* (last edited 1 week 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.

[–] atzanteol@sh.itjust.works 1 points 1 week ago* (last edited 1 week 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.

[–] eager_eagle@lemmy.world 13 points 1 week ago

dua is more like ncdu in rust, less stale too

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

[–] mbirth@lemmy.ml 11 points 2 weeks ago (1 children)

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

[–] wewbull 6 points 1 week ago (1 children)

...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.

[–] thingsiplay@beehaw.org 4 points 1 week ago* (last edited 1 week ago)

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.

[–] MonkderVierte@lemmy.ml 6 points 1 week ago* (last edited 1 week ago) (2 children)

ncdu is df but interactive.

[–] nik9000@programming.dev 2 points 1 week ago
[–] oscar@programming.dev 2 points 1 week ago (1 children)
[–] MonkderVierte@lemmy.ml 1 points 1 week ago

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

[–] vext01@lemmy.sdf.org 5 points 1 week ago

Sadly unmaintained

[–] jlow@beehaw.org 1 points 1 week ago

Ohhh, it's SeqeuiaiaeuoahahaiaView in the terminal, that'll come in handy.

Love ncdu, so good.