I currently have a printer driver set up in Oracle R12 that saves the output to a directory rather than sending to a pring using the following as the argument
mv $PROFILES$.FILENAME /var/tmp/Oracle_Reports/XXC3_RESP_AUD_RPT/
This works fine. However, the file is an Excel file with an extension of .EXCEL rather than .XLS or .xls. I would like to use the above command to also rename the extension, but have not been successful as of yet.