2download_file
Download a selected file from the database (from the _config.php) to a local directory.
Usage
php 2download_file.php "name.in.database" "/path/to/directory"
usage (bash) - output to console
php 2download_file.php "name.in.database" "/path/to/directory" > "output.txt"
usage (bash) - output to file
php 2download_file.php "name.in.database" "/path/to/directory" >> "output.txt"
usage (bash) - append to file
php 2download_file.php "name.in.database" "/path/to/directory" 2> "errors.txt"
usage (bash) - capture errors to file
php 2download_file.php "name.in.database" "/path/to/directory" 2>> "errors.txt"
usage (bash) - append errors to file
php 2download_file.php "name.in.database" "/path/to/directory" > "all_output.txt" 2>&1
usage (bash) - capture output and errors to file
php 2download_file.php "name.in.database" "/path/to/directory" &> "all_output.txt"
usage (bash 4+) - capture output and errors to file