On Thu, 16 Oct 2003 11:42:22 -0700
"Chris W. Parker" <[EMAIL PROTECTED]> wrote:

> Hey everyone.
> 
> I've got a shell script that does a simple backup of a directory on a
> nightly basis and since I don't have samba configured I'd like to send
> that backup file to my email address.
> 
> I've 'man mail' but didn't see anything about adding attachments? Did I
> miss it or do I need to use a different command? I'm only familiar with
> 'mail' and being a command that can send mail from the command line.
> 

Hi Chris,

You can use mutt :

mutt -a $ATTACHFILE -s "$SUBJECT" $MAILTO < $TXTFILE

Cheers,
Sean


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to