this post was submitted on 13 Dec 2024
57 points (86.1% liked)

Programming

18339 readers
420 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 14 comments
sorted by: hot top controversial new old
[–] [email protected] 24 points 2 months ago* (last edited 2 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 8 points 2 months ago

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

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

[–] Ferk 2 points 2 months ago* (last edited 2 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.

[–] [email protected] 2 points 2 months ago* (last edited 2 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.

[–] [email protected] 13 points 2 months ago

dua is more like ncdu in rust, less stale too

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

[–] [email protected] 11 points 2 months ago (1 children)

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

[–] [email protected] 6 points 2 months 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.

[–] [email protected] 4 points 2 months ago* (last edited 2 months 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.

[–] [email protected] 6 points 2 months ago* (last edited 2 months ago) (2 children)

ncdu is df but interactive.

[–] nik9000 2 points 2 months ago
[–] oscar 2 points 2 months ago (1 children)
[–] [email protected] 1 points 2 months ago

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

[–] [email protected] 5 points 2 months ago

Sadly unmaintained

[–] [email protected] 1 points 2 months ago

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

Love ncdu, so good.