samScripts.com
[Home] [My Scripts] [Contact] [Business Card Designer] [Donate] [$8.95 Domain Names]

Home > Scripts > dirsizer

dirsizer

... feel free to use this script for whatever you like.

dirsizer

Little class that gets the number of files and sub-folders in any path, adds up the sizes of the files, and counts the total number of lines in any file.

Description:

Usage:


<?php

include("dirsizer.php");

$d = new dirsizer("/home/mypath/scripts/");

?>


That will result in a not-nicely formatted output of information.

If anyone has a real use for this class, please let me know!

Files

dirsizer.php (1646 bytes) View Download
Viewed 750 times. Downloaded 1510 times.

[Back] [Top] [Forward]

Powered by php, mySql.

Request processed in 0.00 seconds on Wednesday 26th September 2012 23:43:31.

©2002 Sam Yapp

What do you think of my resume wizard site? All nicely written in php :)