[102133] in RedHat Linux List

home help back first fref pref prev next nref lref last post

RE: Get directory size?

daemon@ATHENA.MIT.EDU (Lloyd Sumpter)
Tue Dec 1 15:53:42 1998

In-Reply-To: <000d01be1d6a$33a3e330$f80a020a@tech.chuhpl.lib.oh.us>
Date: Tue, 01 Dec 1998 12:42:47 -0800 (PST)
From: Lloyd Sumpter <Lloyd.Sumpter@BCHydro.bc.ca>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


 du

  (that's not a commentary - it's a program. tells you how much data is in the
current directory, and recursively down through every dir. I like piping it to
"size -n" so that the listing shows largest last)

On 01-Dec-98 George Lenzer wrote:
> Is there a way to find out how much data a directory contains?  Although
> I've been using Linux for close to eight months now, I still haven't found
> any obvious way to get 'ls' or 'df' to display the size of a directory's
> contents in K or Megs.  Any suggestions?
> 
> Thanks
> 
> --------------------------------------------
>  George H. Lenzer
>  Technology Specialist
>  Cleveland Heights-University Heights
>  P u b l i c  L i b r a r y
>  2345 Lee Rd. Cleveland Heights, Ohio 44118
>  Voice - (216)932-3600 x274
>  E-mail: glenzer@chuhpl.lib.oh.us
> --------------------------------------------
> 
> 
> -- 
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>               http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request@redhat.com with 
>                        "unsubscribe" as the Subject.

=======================================================================
Lloyd Sumpter                        E-MAIL: Lloyd.Sumpter@bchydro.bc.ca
Protection and Control Design            or: lsumpter@portal.ca
BC Hydro, Vancouver, CANADA           PHONE: (604) 528-3078
         "It's better to be at the dock, wishing you were at sea, 
               than at sea, wishing you were at the dock."


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post