On Wed, Sep 08, 1999 at 04:57:32PM +0200, Eric Smith wrote:
> Hi
> 
> I have the follwoing lines in my mailcap file:
> 
> application/x-gunzip; /usr/bin/gzip -dc ; copiousoutput
> application/x-zip-compressed; /usr/bin/gzip -dc ; copiousoutput
> application/zip;      /usr/bin/gzip -dc ; copiousoutput
> 
> Now they automatically unzip and view a zipped file.  What  I really want is
> to be able to save and autounzip a zipped attached file to a specific
> location - is this possible?
> 

Does'nt

application/x-gunzip; /usr/bin/gzip -dc '%s' > specific.file

do it?

If not write a script to it and have an entry in mailcap pointiung to the 
script.

Cheers, Brian.

> Thanx 
> -- 
> Eric Smith
> [EMAIL PROTECTED]
> 
> Secret hacker rule #11: hackers read manuals.

-- 
        Associate Professor Brian Salter-Duke (Brian Duke)
Chemistry, Faculty of Science, IT and Education, Northern Territory University,
  Darwin, NT 0909, Australia.  Phone 08-89466702. Fax 08-89466847
[EMAIL PROTECTED]  http://www.smps.ntu.edu.au/school/compchem.html

Reply via email to