1list_files
List all files in a selected directory on the local file system.
Usage
php 1list_files.php "/path/to/directory"
usage (bash) - output to console
php 1list_files.php "/path/to/directory" > "output.txt"
usage (bash) - output to file
php 1list_files.php "/path/to/directory" >> "output.txt"
usage (bash) - append to file
php 1list_files.php "/path/to/directory" 2> "errors.txt"
usage (bash) - capture errors to file
php 1list_files.php "/path/to/directory" 2>> "errors.txt"
usage (bash) - append errors to file
php 1list_files.php "/path/to/directory" > "all_output.txt" 2>&1
usage (bash) - capture output and errors to file
php 1list_files.php "/path/to/directory" &> "all_output.txt"
usage (bash 4+) - capture output and errors to file