How do I test for directory contents size?

Jerry Feldman gaf at blu.org
Mon Oct 2 07:23:13 EDT 2000


The df command is what you want. That tells you how much space is available 
on a specific file system.
The df command without any parameters tells you what is available on all 
your mounted file systems.
Bill Horne wrote:
> OK, it's Monday:  this must be in the Nutshell book *somewhere*, but I
> can't find it.
> 
> How do I test to find out if the contents of a given directory will fit
> onto a given file system?
> 
> In other words, if I'm transferring a RedHat 6.2 CD onto a drive, what
> do I do to find out what will fit and what will not?
-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org


-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list