du is the way to go

du -sh /path/to/directory/ gives you a summary in human-readable form (K, M,
G)

Michael Martinez
System Administrator
Information Systems and Technology Management
CSREES - United States Department of Agriculture
(202) 720-6223


> -----Original Message-----
> From: Mike Burger [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 05, 2002 1:06 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Directory size?
> 
> 
> You'll probably want to use du.  man du for more info.
> 
> Paul Weber <[EMAIL PROTECTED]> said:
> 
> > Is there a way to find out how much disk space is being used by a
> > directory, including the subdirectories it contains?
> > 
> > I've been through the ls man page, but it doesn't mention anything. 
> > I'd rather not script it if there is a nice little utility or switch
> > that I don't know about.
> > 
> > Thanx!
> > 
> > Michael
> > 
> > 
> > 
> > _______________________________________________
> > Seawolf-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/seawolf-list
> > 
> 
> 
> 
> -- 
> Mike Burger
> http://www.bubbanfriends.org
> 
> Visit the Dog Pound II BBS
> telnet://dogpound2.citadel.org, or http://dogpound2.citadel.org:2000
> 
> 
> 
> 
> _______________________________________________
> Seawolf-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/seawolf-list
> 



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to