I am trying to e-mail a file containing colon (:) character in the name:
my_attachment_name=some_file_with_:_in_the_name.txt
uuencode "${my_attachment_name}" "`basename \"${my_attachment_name}\"`"
| mail -s "My Report ..." my_email@xyz.com
But, when I receive the e-mail, I see ":" has been removed from the file name.
some_file_with__in_the_name.txt
How can I fixed it?
Thanks.