scripts du2.php This is based off of du.php, and is basically the same thing except it lets you click on folders to navigate through the directory structure and see how much space each directory is taking up. It uses php’s shell_exec function to
scripts du.php - PHP Disk Usage script I’m starting to copy my scripts from https://justynshull.com/oldsite/phpscripts.html but figured I’d start with this one so I can get the syntax hilighting/formatting down with wordpress. <?php // $a = shell_exec('df -h'); //echo getenv('DOCUMENT_ROOT')