And on Thu, Sep 09, 1999 at 07:22:13AM +0930 it was said by Brian Salter-Duke:
| > 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.

After some experimentation I arrived at this:
application/zip;        /usr/bin/unzip -d/var/tmp/unzipped/ %s

This unzipped all the contents of the zip and throws them into a staging dir.

kewl
-- 
Eric Smith
[EMAIL PROTECTED]

If I had 20 fingers, I could program at twice the speed.

Reply via email to