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, '';
Regards,
--
Don Read [EMAIL
So sprach »sagar N Chand« am 2001-09-23 um 22:51:49 +0530 :
> is there any way to get the total disk space used under a directory
> including its subdirectories and all the contents.
Either execute du, or sum up the sizes of all the files manually in PHP.
Alexander Skwar
--
How to quote: http
2 matches
Mail list logo