[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 09:53:34 -0500 |
alexander wrote:
> >
> > 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
> You should really just use file(1) here. It will give you mime-types
> and sutible descriptions for free, and doesn't rely on file extensions.
huh. someone added a "-i" option to file(1) sometime in the last
25 years, and they didn't tell me! :-)
(thanks!)
paul
=---------------------
paul fox, address@hidden (arlington, ma, where it's 41.5 degrees)