Live data from Hacker News

Ncdu – NCurses Disk Usage

dev.yorhel.nl

91–100 of 168 posts

Re: Ncdu – NCurses Disk Usage

#91

If you use a Btrfs filesystem with snapshots, I can recommend Btdu as an alternative. Advantage: Can handle duplicate files (snapshots), which however only occupy 1x disk space. https://github.com/CyberShadow/btdu

At first blush, this beats the tar out of using other deduplicator strategies on btrfs. I'm looking forward to checking this out more thoroughly.

Re: Ncdu – NCurses Disk Usage

#92
ncdu is one of the most useful CLI tools out there! Been using it for many years as well.

Another disk scanner worth plugging that I came across for some use cases where I needed to generate single-view reports is pdu - it has the same concurrency implementation that other ncdu alternatives use so the performance is much better too.

https://github.com/KSXGitHub/parallel-disk-usage

Re: Ncdu – NCurses Disk Usage

#93
post #55

Broadly, is anyone aware of a generalized list of "new versions of classic tools?" There are so many now that are better than the old stuff; I almost feel like a unified round up of these, maybe even in a distro form, might be good for linux enthusiasts, newcomers, old-timers, etc.

One thing that comes to mind as someone who is not in the know of these new tools would be, are they safe? The old tools have been there forever and used everywhere. My assumption would be these are safe and don't change often. For better or for worse, I would be concerned about using the newer tools unless they are backed and/or approved by a large open source org.

If the tool is "$x, but with pretty colors", there's a good chance they are not safe to use in pipelines. It's distressingly common for colored output to be sent even when piped.

Re: Ncdu – NCurses Disk Usage

#94
post #55

Broadly, is anyone aware of a generalized list of "new versions of classic tools?" There are so many now that are better than the old stuff; I almost feel like a unified round up of these, maybe even in a distro form, might be good for linux enthusiasts, newcomers, old-timers, etc.

One thing that comes to mind as someone who is not in the know of these new tools would be, are they safe? The old tools have been there forever and used everywhere. My assumption would be these are safe and don't change often. For better or for worse, I would be concerned about using the newer tools unless they are backed and/or approved by a large open source org.

I really respect this take -- and also kind of don't like it at the same time?

Basically, I don't do "mission critical" Linux things. I teach IT and I hack around on my own boxes with scripts and stuff because it's fun and useful to me. I'm always on the lookout for the hooks and such that can get more and different people into Linux.

Re: Ncdu – NCurses Disk Usage

#96
post #86

Earlier quoted context omitted.

Someone's gotta write rdu.

OP’s link has a list at the bottom with alternatives (that in itself is very cool). It lists both gdu and a Rust alternative called dua.

See also broot, dust, and pdu for Rust alternatives.

Re: Ncdu – NCurses Disk Usage

#97
post #55

Broadly, is anyone aware of a generalized list of "new versions of classic tools?" There are so many now that are better than the old stuff; I almost feel like a unified round up of these, maybe even in a distro form, might be good for linux enthusiasts, newcomers, old-timers, etc.

Zellij instead of tmux (not necessarily better, but it's easier to use) Xonsh instead of bash (because you already know Python, why learn a new horrible language?) bat instead of cat (syntax highlights and other nice things) exa instead of ls (just nicer) neovim instead of vim (just better) helix instead of neovim (just tested it, seems promising though) nix instead of your normal package manager (it works on Mac, an…

nushell instead of Xonsh/bash/fish. A bit of a learning curve but worth it Also tig as a git ui

Re: Ncdu – NCurses Disk Usage

#98

If you use a Btrfs filesystem with snapshots, I can recommend Btdu as an alternative. Advantage: Can handle duplicate files (snapshots), which however only occupy 1x disk space. https://github.com/CyberShadow/btdu

This looks very useful! I wish there were something similar for ZFS.
Post reply on HN