2upload_files
Upload all the files from a given directory to the database specified in the _config.php.
Usage
php 2upload_files.php "/path/to/directory"
usage (bash) - output to console
php 2upload_files.php "/path/to/directory" > "output.txt"
usage (bash) - output to file
php 2upload_files.php "/path/to/directory" >> "output.txt"
usage (bash) - append to file
php 2upload_files.php "/path/to/directory" 2> "errors.txt"
usage (bash) - capture errors to file
php 2upload_files.php "/path/to/directory" 2>> "errors.txt"
usage (bash) - append errors to file
php 2upload_files.php "/path/to/directory" > "all_output.txt" 2>&1
usage (bash) - capture output and errors to file
php 2upload_files.php "/path/to/directory" &> "all_output.txt"
usage (bash 4+) - capture output and errors to file