WOuldn't 'mpack' work for you?
On Wed, Sep 05, 2001 at 08:08:34AM -0700, Nathan England wrote:
>
>
>
> On 04 Sep 2001 15:56:33 -0700, Bill Warner wrote:
> > can you not just do it the old redirected way?
> >
> > mail -s "my log file" my@email.address < /var/log/messages
> >
>
> This worked, so thank you, but what about binary attachments? Is that
> possible?
> Say like this.
>
> I have a small recording device hidden out side my front door. I have a
> video only feed from a camera hidden near my front door. They both
> record to a directory called /security and the audio goes into a file
> called 'date +%Y_%M_%D'audio.mp3 and the video goes into 'date
> +%Y_%M_%D'video.mpg and I want both of those emailed to my mail server
> which will automatically strip the mp3 and mpg files and puts them into
> my database.
>
> Except right now, I have to manually mail the binary attachments.
> Anyway of doing this?
>
> nathan
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list - PLUG-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss