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. |
|
|
|