Voting is supposed to take care of uninteresting/low-effort posts. Seems like people like this post anyways. I love ncdu! Cuts through disk cruft like a laser-sword.
As an aside, this Wikipedia article definitely doesn’t meet their notability guidelines as written. Not criticizing the tool itself, but the article has 0 secondary sources
Was the screenshots link on the tool’s homepage not working? That includes many screenshots including a better version of the one attached to the wikipedia article.
The home page is https://dev.yorhel.nl/ncdu it seems but that page didn’t include a screenshot which helps illustrate how much more useful this is than just running df -h or du on your own.
I have used this for many years and it is one of my favourite pieces of software. So usefull. Removing the clutter in a filesystem becomes a breeze.
From ncdu’s website:
Project status: Maintenance mode: I consider ncdu to be mostly complete. I’m still here to keep it alive and to fix issues as they come along, but I don’t actively work on adding new features.
This is how it’s done. We need more such pragmatism. Write software which a well defined scope and purpose, implement it cleanly and well, and use it.
I would do naughty things for a tool that can also show the age of dirs/files in addition to just the size. Say I find a database dump taking up 32 GB of disk on a shared server. If it’s 5 days old, I’d probably leave it alone. If it’s 5 years old, 99% chance I can delete it without hesitation. But I currently have to jump to another terminal window just to find that out. It would make my day-to-day job a ton easier if I could just d it right then and there.
Can we please not start posting random wikipedia articles on lobste.rs? It’s extremely low effort..
Voting is supposed to take care of uninteresting/low-effort posts. Seems like people like this post anyways. I love ncdu! Cuts through disk cruft like a laser-sword.
As an aside, this Wikipedia article definitely doesn’t meet their notability guidelines as written. Not criticizing the tool itself, but the article has 0 secondary sources
My explanation here: https://lobste.rs/s/rje7wt/ncdu_ncurses_based_disk_usage_tool#c_ox1etm.
Was the screenshots link on the tool’s homepage not working? That includes many screenshots including a better version of the one attached to the wikipedia article.
Ah, I was only looking at the homepage and missed that page. Those are great. Thanks
The home page is https://dev.yorhel.nl/ncdu it seems but that page didn’t include a screenshot which helps illustrate how much more useful this is than just running
df -h
ordu
on your own.There are several screenshots on the homepage to illustrate just that.
Missed that page. Thanks!
I’ve been using it for years, but apparently stuff like gdu is faster for SSDs now.
I use this, it’s very effective!
I wrote my own graphical scripts at some point with a treemap, and then tried this and realized it’s good enough in practice :) It’s fast.
I have used this for many years and it is one of my favourite pieces of software. So usefull. Removing the clutter in a filesystem becomes a breeze.
From ncdu’s website:
This is how it’s done. We need more such pragmatism. Write software which a well defined scope and purpose, implement it cleanly and well, and use it.
It respects .gitignore/.dockerignore so it was a great tool to use when diagnosing weird large docker images
I use the similar duc, originally for the pie charts, but I haven’t used those in years.
Somebody on reddit recently made me aware of gdu, which is just ncdu but faster.
It is indeed a great tool to have in your toolbox. I use it often when diagnosing disk space issues.
I would do naughty things for a tool that can also show the age of dirs/files in addition to just the size. Say I find a database dump taking up 32 GB of disk on a shared server. If it’s 5 days old, I’d probably leave it alone. If it’s 5 years old, 99% chance I can delete it without hesitation. But I currently have to jump to another terminal window just to find that out. It would make my day-to-day job a ton easier if I could just
d
it right then and there.version 2.16 has the
-e
flag to have it read mtimes during scanning - you have to press ‘m’ once it loads to actually display / sort by them.