RE: [PHP] how to get the total disk space used in a directory
| From: | Don Read | Date: | Sun, 23 Sep 2001 19:07:08 +0000 |
| Subject: | RE: [PHP] how to get the total disk space used in a directory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68439@lists.php.net to get a copy of this message | ||
On 23-Sep-2001 sagar N Chand wrote:
> hi all,
>
> is there any way to get the total disk space used under a directory
> including its subdirectories and all the contents.
>
> /sagar
>
$duse=
du -sk /usr/foo;
echo $duse, '<br>';
Regards,
--
Don Read dread@texas.net
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.