Is it possible to remove the file path from the name of an email attachment?
Instead of:
_informatica_Server_data_TgtFiles_FILENAME.csv
I'd like to see this in my email:
FILENAME.csv
i've used the following command
mailx -s 'Test subject' -a
$PMTargetFileDir/FILENAME.csv
but it is sending only mail not the attachment.
Please advise.
Changing file name in email attachment.
Hi,
Yoi need to implement some shell logic to rename the file and then proceed with the next operation.