[plug] mail command

Jon Miller jlmiller at mmtnetworks.com.au
Sun Jun 13 09:22:40 WST 2004


I need to use the mail command at the end of a script to send notification that the script is completed, but along with that I need to send a attachment. 
My command so far:

mail -s "${NOW}" "Backup Job is completed" "${EMAILTO}" -c 2nd at person.com.au

What parameter do I add to add an attachment or do I have to pipe the contents of the list?  I hope not because the list is very long (it's the contents of a backup.

Thanks

Jon L. Miller, MCNE, CNS, ASE
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au

"I don't know the key to success, but the key to failure
 is trying to please everybody." -Bill Cosby
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: TEXT.htm
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20040613/51def4da/attachment.ksh>


More information about the plug mailing list