PDA

View Full Version : Do we have a Linux alternative for this?



Hanj
August 7th, 2005, 11:45 AM
If you've every tried to find the largest files to clean up a cluttered hard drive, you know something like this (http://www.win.tue.nl/sequoiaview/) can save a lot of time. Really cool idea IMHO.

Now my question is, is there a linux (preferably open source) alternative for this little tool? The closest thing I can find is this java library (http://sourceforge.net/projects/treemap/). If no one can point me to a linux program like this, I think I'll write one myself

SGC
August 7th, 2005, 01:11 PM
If you are using kubuntu, there is KDirStat (http://kdirstat.sourceforge.net/), it is in the universe repository:
apt-get install kdirstat

BWF89
August 7th, 2005, 01:29 PM
Those look pretty cool.

macgyver2
August 7th, 2005, 01:35 PM
SGC slipped in and posted while I was looking in Synaptic because I can never remember the name of the program even though it's come up in conversation several times in the past few weeks for me! :)


If no one can point me to a linux program like this, I think I'll write one myself
I say got for it...unless you use KDE or you don't mind that KDirStat is going to want you to install about 8 or 10 dependencies, some of them KDE library packages.

For a different layout idea, take a look at this (http://www.steffengerlach.de/freeware/). I've seen this in action on windows and I think the circular chart looks neat. The author provides Delphi sources...but I know nothing about Delphi and Linux.

Kyral
August 7th, 2005, 02:36 PM
I believe there is also a program called File Light in the repos that does the same thing and doesn't rely on the KDE Libs

macgyver2
August 7th, 2005, 02:59 PM
I believe there is also a program called File Light in the repos that does the same thing and doesn't rely on the KDE Libs
Still wants me to install pretty much the same stuff that KDirStat wants. :neutral: But on the plus side it does have the look I prefer! Thanks for the heads up.

dcraven
August 7th, 2005, 04:09 PM
There is a little program called Baobab (http://www.gnomefiles.com/app.php?soft_id=1002) that does something similar, but focuses on directories, not the files. If you wanted to write something that does files too may I suggest contacting the Baobab author? It's a fairly new project from what I can tell and may be easily extended.

Have a look, the author might just love the help!

Cheers,
~djc

sooqing
August 7th, 2005, 04:11 PM
erm.. read somewhere u can actually uses tools like du, find, etc.. to find the largest files?

Hanj
August 7th, 2005, 04:40 PM
KDirStatThat's what I'm talking about. Too bad it's KDE :? Same goes for Filelight. Gnome should have a program for this.


There is a little program called Baobab that does something similarSeems to me it only creates a list over the directories and sorts them after size? Guess you could extend it with a treemap though. I'll take a look at the source code, and maybe contact the author.


erm.. read somewhere u can actually uses tools like du, find, etc.. to find the largest files?Yeah, you could of course. But these treemaps provide a much better overview. Plus they look cool :)

drizek
August 7th, 2005, 06:42 PM
open a folder in konqueror

view- filesize view

i think that is what you are looking for. its alredy included in kibuntu.

Edit: screenie http://img280.imageshack.us/img280/7426/snapshot21bk.th.png (http://img280.imageshack.us/my.php?image=snapshot21bk.png)

Hanj
August 7th, 2005, 06:52 PM
Looks like there are several KDE tools for this. Haven't seen any for gnome yet though.

wmcbrine
August 8th, 2005, 07:20 AM
There's an old generic X tool to do this, but I can't remember the name. Generally I just do:

du | sort -n | less

jnoreiko
August 8th, 2005, 02:52 PM
Well... this is on windows, but it's free :D (but only as in beer)

http://www.jgoodies.com/freeware/jdiskreport/

Hanj
August 8th, 2005, 03:33 PM
Well, I've been talking a little to the author of Baobab, and I think I am going to write a module for his program to view directories as treemap diagrams. Baobab also has some integration into Nautilus (through a bash script), and hopfully this can be improved in the future.

If I ever finish this module, I'll post here to get some opinions on it.

Stormy Eyes
August 8th, 2005, 03:39 PM
There's an old generic X tool to do this, but I can't remember the name. Generally I just do:

du | sort -n | less

I do the same, though I throw the --si switch onto du to get my sizes in units I'm used to, so it looks like this:


du --si | sort -n | less

wmcbrine
August 12th, 2005, 02:10 PM
I do the same, though I throw the --si switch onto du to get my sizes in units I'm used to, so it looks like this:


du --si | sort -n | less
The problem with that is, it breaks the numerical sort -- k, M and G get mixed together.