Live data from Hacker News

Ncdu – NCurses Disk Usage

dev.yorhel.nl

71–80 of 168 posts

Re: Ncdu – NCurses Disk Usage

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

Re: Ncdu – NCurses Disk Usage

#75
post #18

Interesting. I’ve just used df-m | sort -n and walked the tree from the CLI for so long. I’ve also used windirstat (I think that’s what it was called) years ago on Windows and Disk Inventory X on MacOS graphically. This seems like a nice in between that could replace both methods for me. I’ll have to try. The GUI bunch of squares is really only useful when you can hover with a mouse and would be clunky in a TUI even…

> I’ve also used windirstat (I think that’s what it was called) years ago on Windows and Disk Inventory X on MacOS graphically.

On Windows, the new hotness is WizTree, which rather than recursively calling directory listing functions, it directly reads and parses the file tables itself. This makes it orders of magnitude faster. I have a 2 TB hard drive full of a million files, and WizTree reads and parses it all in under a minute, whereas I can expect WinDirStat to take half an hour.

Re: Ncdu – NCurses Disk Usage

#76
post #33
post #22

The best tool I've used on Windows for that is "Scanner" by Steffen Gerlach: http://www.steffengerlach.de/freeware/

I use WinDirStat on Windows https://windirstat.net/

You should switch to WizTree. Rather than recursively calling directory listing functions, it directly reads and parses the file tables itself. This makes it orders of magnitude faster. I have a 2 TB hard drive full of a million files, and WizTree reads and parses it all in under a minute, whereas I can expect WinDirStat to take half an hour.

On an SSD, WizTree only takes a couple seconds.

Re: Ncdu – NCurses Disk Usage

#77
post #22

The best tool I've used on Windows for that is "Scanner" by Steffen Gerlach: http://www.steffengerlach.de/freeware/

I find myself using WinDirStat on Windows systems, but often use ncdu in WSL.

On Windows, you should switch to WizTree. Rather than recursively calling directory listing functions, it directly reads and parses the file tables itself. This makes it orders of magnitude faster. I have a 2 TB hard drive full of a million files, and WizTree reads and parses it all in under a minute, whereas I can expect WinDirStat to take half an hour.

On an SSD, WizTree only takes a couple seconds.

Post reply on HN