RE: [PHP] size of directory
| From: | Robert V. Zwink | Date: | Thu, 22 Feb 2001 14:37:53 +0000 |
| Subject: | RE: [PHP] size of directory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41155@lists.php.net to get a copy of this message | ||
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:ajandris@parks.lv]
Sent: Thursday, February 22, 2001 6:29 AM
To: php-general@lists.php.net
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:ajandris@parks.lv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net