Re: directory size?
| From: | Philip Hallstrom | Date: | Thu, 03 Apr 2003 22:44:39 +0000 |
| Subject: | Re: directory size? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142209@lists.php.net to get a copy of this message | ||
If you are on unix take a look at the "du" command.
On Thu, 3 Apr 2003, Mantas Kriauciunas wrote:
> Hey
> I looked up in the manual but found only
> Disk_total_space
> Disk_free_space
>
> Is there anything like total_space for directory?
> Or I will have to think of something else?
> Like counting every file size and adding it to total.
> But if there is like 1000 files with directories in the main directory.
> It will take time to count files from all the directories and output
> total size of the main directory.
>
> I hope I didn't make it sound too confusing:)
> Thanks for any help!
> Mantas Kriauciunas
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>