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 699 times. Downloaded 1468 times.

[Back] [Top] [Forward]

Powered by php, mySql.

Request processed in 0.04 seconds on Sunday 5th February 2012 11:18:49.

©2002 Sam Yapp

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