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                                       [EMAIL PROTECTED]
-- 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.

-- 
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]

Reply via email to