Re: dir size

From: Date: Fri, 03 Oct 2003 19:12:41 +0000
Subject: Re: dir size
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-164958@lists.php.net to get a copy of this message
On Fri, 2003-10-03 at 15:02, Gabriel Guzman wrote: > On Friday 03 October 2003 11:48 am, Robert Cummings wrote: > > On Fri, 2003-10-03 at 14:45, Jay Blanchard wrote: > > > [snip] > > > is it possible to count a size of a dir and all sub dirs in php ? and > > > if, > > > how? > > > [/snip] > > > > > > $foo = exec("du -h"); > > > > Hmmm this solution would appear to include the file sizes :D > > man du :D I was being facetious. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#164958) next »