this post was submitted on 13 Dec 2024
67 points (100.0% liked)

Programming

19290 readers
94 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 12 comments
sorted by: hot top controversial new old
[–] atzanteol@sh.itjust.works 23 points 3 months ago* (last edited 3 months 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 9 points 3 months 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 3 months ago* (last edited 3 months 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 2 points 3 months ago* (last edited 3 months 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 3 months ago

dua is more like ncdu in rust, less stale too

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

[–] mbirth@lemmy.ml 11 points 3 months ago

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

[–] MonkderVierte@lemmy.ml 5 points 3 months ago* (last edited 3 months ago) (2 children)

ncdu is df but interactive.

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

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

[–] nik9000@programming.dev 2 points 3 months ago
[–] vext01@lemmy.sdf.org 5 points 3 months ago

Sadly unmaintained

[–] jlow@beehaw.org 1 points 3 months ago

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

Love ncdu, so good.