Please find the attached file ${FILE} as of $(date).
Cheers.
MSG
uuencode ${FILE} ${FILE}
) | mailx -s "${FILE} as of $(date)" ${TO}
[/tt]
You can even have multiple attachments by just adding more [tt]uuencode[/tt] lines, one for each file.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.