* * Simply specify the path to tree with parameter . * * (c) Marcus Boerger */ foreach(new DirectoryGraphIterator($argv[1]) as $file) { echo $file . "\n"; } ?>