[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Attaching a zip file
From: |
Paul Fox |
Subject: |
Re: [Nmh-workers] Attaching a zip file |
Date: |
Wed, 13 Dec 2006 08:33:30 -0500 |
> > To attach a compressed tar file, say, /tmp/foobar.tgz, to an Email, I do
> > something like:
> >
> > #application/octet-stream; \
> > type=tar; x-conversion=gzip; \
> > name=foobar.tgz /tmp/foobar.tgz
> >
> > Could somebody take pity on an old man and tell me what I would do to
> > attach
> > a zip file, say. /tmp/foobar.zip, to an Email?
>
> I'd just do
>
> #application/zip; name="foobar.zip" /tmp/foobar.zip
i'll attach a script i use for forwarding attachments. it
handles the common binary types i use, plain files, and mail
messages, based on interpreting its arguments. it produces the
mhbuild input text necessary to do the forwarding on its stdout --
so, when composing mail in vi, i can type something like:
:r !forward foobar.zip
or even
!!forward foobar.zip
for files, or
!!forward cur-last
to forward messages.
it's far from perfect, i'm sure, but it saves me trying to remember how
to compose mhbuild lines by hand.
paul
=---------------------
paul fox, address@hidden (arlington, ma, where it's 37.9 degrees)
forward
Description: -