Size of directory

Wondering if there is any way/application to easily tell the size of directories and any subdirectories. eg in Windows, Directory Opus, and several other file managers will actually show the size of directories in normal view ie if open at the root of a drive, can easily tell where all the space is being used… Anything similar for Suse? A plugin for Dolphin/Konqueror??
Thanks, John.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tons of ways… browse to the directory and run the following command:

du -h ./

Or, if you’re into the GUI, I just right-click on a directory and go to
properties and it shows me the size of that directory and its contents
(recursively). I’m using Gnome but I am fairly sure KDE will show the
same information.

Good luck.

hornetster wrote:
> Wondering if there is any way/application to easily tell the size of
> directories and any subdirectories. eg in Windows, Directory Opus, and
> several other file managers will actually show the size of directories
> in normal view ie if open at the root of a drive, can easily tell where
> all the space is being used… Anything similar for Suse? A plugin for
> Dolphin/Konqueror??
> Thanks, John.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJkMTc3s42bA80+9kRAottAJ9or3ZpaTx4+OFkFDXvZicEBsmoUQCeP4wF
2xjlEAi2nllKFzqGwMkR/rs=
=ubTC
-----END PGP SIGNATURE-----

Thanks for the reply. Yep, that is good for single directories, but what I want to be able to do is “at a glance” list all the subdirectories in the current directory and the TOTAL space it is taking up, preferably all on a single page, either GUI or not. ie being able to go to the root directory and quickly see if there is one subdirectory that is growing out of proportion…
Thanks, John.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

For the most part this works. If you have spaces in file/directory
names than you may get some errors, but I’m sure you can work around
those if needed:

ls -1drt *| xargs du -h --summarize

Good luck.

hornetster wrote:
> Thanks for the reply. Yep, that is good for single directories, but what
> I want to be able to do is “at a glance” list all the subdirectories in
> the current directory and the TOTAL space it is taking up, preferably
> all on a single page, either GUI or not. ie being able to go to the root
> directory and quickly see if there is one subdirectory that is growing
> out of proportion…
> Thanks, John.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJkNSK3s42bA80+9kRAnekAJ45/vTcxaGN6Dzz2MYexRoZzwY4lgCfZ8nr
+rIO2Ta0ZtpnYpLDUWT/weY=
=e60I
-----END PGP SIGNATURE-----

You could also try

du -hc --max-depth=1

This will give you all the directories in the current directory, and a total at the bottom. Play with the --max-depth to dig down further in the structure and get more fine-grained results.

Often I run this with a pipe to grep “G” to do a quick search of folders that are large enough to be measured in gigabytes. It will pull any directories with a capital G in them, but there aren’t many of those so it works for me.

du -hc --max-depth=1 | grep “G”

seems you are using KDE, you might try starting Konqueror then highlighting the folder/directory you are needing information about in the left panel then choose View/ViewMode/FileSizeView.

at first the quilted map that you get is hard to decipher, but if you take a few minutes and figure out the concept, you can get a perspective that is really hidden in normal view.

hope it helps.