[Top][All Lists]

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

Re: [Nmh-workers] Attaching a zip file

From: Joel Reicher
Subject: Re: [Nmh-workers] Attaching a zip file
Date: Mon, 26 Feb 2007 15:56:24 +1100

> Would some kind and generous person be willing to tell me, given a file name 
> and
> the output of "file -i" applied to that file, how to generate text suitable f
> or
> inclusion in an Email as grist for mime, using some language I understand. Th
> at
> is, English, C, Perl, or Java but not Python.

Just in case the other scripts that people have posted aren't what you want,
something like


echo "#`file -b -i $1`; name=\"$1\" $1"

might be what you're after.


        - Joel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]