Anyone know of an easy way to get the size of a directory in bytes, this would obviously include all sub directories as well? thanks
easy to make it out that is using exec() function. you can use 'du' command and read the last line number, it just the size you want
yorgo
Hi,
Or better yet, add the -s switch to du so it only outputs the last line.
Johan