Kdirstat to track space hogs
I’m putting this under the Windows tech support category because I’ve used this on a boot cd before to do the same for Windows as I’m about to describe for Linux. I need to clean up and organize my hard drive(s). But when it comes to actually deleting things you really do want to get the biggest bang for the buck and go after the biggest files first. I remember an old Windows 95 utility I think it was called space Hog or something like that (more space 95??) Anyway, it would scan the disc and show the files sorted by size. Under linux (KDE desktop), there’s a similar (in many ways better) utility called kdirstat.
When you open up kdirstat it gives you the opportunity to choose which folder you want to analyze. If you have several GB of data in your home directory expect either to 1) narrow the focus a bit to a sub-directory tree or 2) wait a while for the analysis. While it works, you will see how many read operations are left in each folder tree which gives an idea of it’s progress. After it’s done you’re presented with a nice split screen view. At the bottom is a visual representation of the data on your drive. Colored blocks. If you click on one, you will be taken in the top half of the view to the file that represents. The top half is sorted by largest size down to smallest. Clicking on a directory or file highlights the corresponding area in the graphic below.
Of course, you probably don’t want to just go deleting will-nilly (I think that’s the first time I’ve ever actually used that phrase… willy-nilly….) Especially if your using a boot disk to clean up a windows partition and not your linux home directory. You can get a system thoroughly messed up by deleting things you shouldn’t. That much said, if you’re running under linux and you’ve just analyzed your home directory you should be fine as long as you don’t take out files that are important to you. (You hate to have to say that, but….)
Popularity: 1% [?]
Related Posts - Linux sysadmin toolbox.. This article from enterprise.linux.com is the second on those essential linux command line utilities for system administrators. Covered this time around are netcat, tcpdump, ethereal, nmap, MultiTail, find Xargs, awk and sed, bash and cvs. I've never used MultiTail, but it sounds like it's worth looking at. Nmap is virtually......
- How to Recover deleted items from Outlook .pst file About 6 months ago I had a customer call with a bit of a crisis. They had deleted some folders in Outlook without realizing the cleared out a few things they NEEDED to keep. Up until then I hadn't had much opportunity to try to find out what was recoverable,......
- More Command Line Interface Magic.... Aliases Enterprise Linux has a good article on some handy aliases under linux that can make CLI usage much more handy. The only warning I would have is to be careful that an alias you want to create doesn't conflict with another useful program. (One of the comments noted that ld......
Related Websites - Free Success Ebook: "Home Course in Mental Science" by Helen Wilmans (1921) Success Manual Strategist Edition 2011 "There is a Life Principle, and it is unlimited; it is one. It holds the visible universe in place, though it is invisible. It is a self-existent principle. It underlies universal law. It is the one Law – the Law of Attraction – and beside it there is no......
- Say Goodbye to "Article" Marketing, Slide Sharing Can Get You 100x More Traffic Anyday - Internet Marketing Strategies Slide sharing websites (just Google "slide sharing sites") post your written content in PDF, PowerPoint or some other visually appealing format, have mostly do-follow links (for those of you who believe that actually means anything of value to your internet marketing strategies, for SEO atleast ;)), have very high......
- Windows Vista SP2: 6 Things You Need to Know Windows Vista Service Pack 2 is set to be released as a public beta version Thursday, Microsoft has confirmed. The program, which has been under limited testing since October, will become available on the Microsoft TechNet site. Here's what you need to know before making the upgrade. Vista Service Pack......
Similar Posts
- Using .htaccess to ALLOW directory browsing
- “rm -f *” undelete
- Netscape 7.1 download file could not be saved
- How to Recover deleted items from Outlook .pst file
- Using the command line in linux – part 2