If you are running linux try
du -shc /path/to/directory
If you are running some other unix flavor, omit the -h and try -k
Robert Zwink
http://zwink.levitate.org
-----Original Message-----
From: Andris Jancevskis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 6:29 AM
To: [EMAIL PROTECTED]
Subject: [PHP] size of directory
Hi,
how can I determine size of directory with subdirectories? if I see
at "ls -l" it returns directory size 4096. I want to know how large
is directory (with files into) without looping all files ...
thanx,
--
Andris
mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]