How to list directory size?
k5di at zianet.com
Sat Jun 28 19:49:43 BST 2008
Robert Dailey wrote:
> On Sat, Jun 28, 2008 at 12:07 PM, Corey Bettenhausen <corey at 31415926535.com>
> When I mentioned "recursive" in my original post, I was referring to the
> math- The math that calculates the size of the folder should be recursive,
> in that it will search the directory tree for all files under the folder in
> question and add their sizes together to form the final directory size. The
> display routine itself should *NOT* be recursive, as I only care to see the
> size of a specific folder and NOT its contents.
> Well if you know what the above means, and I do not, it could mean that $ du is not what this guy wants. Maybe he wants $df or something not avalable like $dy :-)
Also your on Linux now and folders are called directories. Like
folders on Windows were directories in DOS.
Karl F. Larsen, AKA K5DI
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
More information about the ubuntu-users