The script is not polished for general use. It takes $1 as the source file, but you will need to edit the script for destination directory and naming convention.
If there is interest I can update the script to accept params so it is a bit more 'polished' :)