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….)

Related Posts

Blog Traffic Exchange Related Posts
  • Simple Backup This is going to explain some ideas for a really simple way to make your own backup routine. This isn't very fancy and in some ways it's not the best backup solution. Let me explain what to use this for. This kind of tool can be used to "save you......
  • 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......
  • Using the command line in linux - part 2 This is part two in a series of "how to use the command line in linux" style articles.... these are intended to be quite basic for those that have not used a command line before.... In part one we logged in (if necessary) and found out about the help command,......
Blog Traffic Exchange Related Websites
  • First Aid in Home Repairs pt 2 Here is a continuation on the basic first aid and safety for home repairs. Puncture Wounds: Puncture wounds and dirty wounds need to be addressed by a professional immediately. If a puncture wound was created, a tetanus injection may be necessary. Poisoning: You need to call a poison center or......
  • Window Locks and Proper Glazing Will Improve Your Home Security A large amount of the house burglaries that are committed happen by the thief getting into the home through poorly protected windows. This is possible unsurprising as you see many homeowners that go to a lot of lengths to protect their front and back doors and yet consistently leave their......
  • Fuel Conservation - Tips for the Homeowner In the cold months of winter, there are a number of things you can do to conserve fuel and same money. The main way to conserve energy is to prevent heat from leaving the home. The first step is to make sure that the walls, ceilings and floors are insulated......
PDF24    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site