[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: adding an attatchment using the mail command?



On Wed, 7 Jan 2004 16:01:27 -0000 (GMT) Mark C wrote:

> I run a nightly cronjob to back up certain system files, for the life of
> me I cannot add them as an attatchment, when I mail to files to myself,
> they always got put into the message body.  Reading the man pages gives
> no indication of how to do this, and I'm not sure if you can with the
> 'mail' command (I suppose sendmail would be the other alternative).

You can't do it with 'mail'. You can use 'nail' instead which does
attachments. If you already have mutt installed you can use that as
well to send mail with attachments in batch mode.


HTH,

Morten



Reply to: