Ncdu – NCurses Disk Usage
11–20 of 168 posts
Re: Ncdu – NCurses Disk Usage
#12Re: Ncdu – NCurses Disk Usage
#13I never knew about this tool, but it looks quite useful--much better than just using df. The only thing I wish it had was a squarified treemap view of disk space. There was an old graphical tool for Windows called SequoiaView that I used to use years ago, and I've never found a worthy replacement for it on Linux or MacOS.
Re: Ncdu – NCurses Disk Usage
#14Re: Ncdu – NCurses Disk Usage
#15Re: Ncdu – NCurses Disk Usage
#16Re: Ncdu – NCurses Disk Usage
#17Nice GUI to `du -h --max-depth=1 .` or `du --max-depth=1 . | sort -n -r`
du will have to rescan as you traverse down the tree
Re: Ncdu – NCurses Disk Usage
#18I’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 if you could render it. And the FS structure isn’t immediately obvious, so I find myself wasting time wandering hovering over big files and globs of little ones.
I really like to avoid a mouse when I can unless it’s really useful.
Re: Ncdu – NCurses Disk Usage
#19Interesting. 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…
However I use ncdu all the time.
Re: Ncdu – NCurses Disk Usage
#20If you like ncdu, you might also like dua[0]. You can run `dua i` to get an interface similar to ncdu, and can also run `dua` to list file sizes in the current directory, similar to `du`. Or `dua filename ` to get the size of a given file. [0] https://github.com/Byron/dua-cli