Re: [PHP] how to get the total disk space used in a directory

2001-09-23 Thread Alexander Skwar
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:

RE: [PHP] how to get the total disk space used in a directory

2001-09-23 Thread Don Read
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