procmail
[Top] [All Lists]

Re: Hard one for the gurus - Extracting files from a uuencoded mess age

2002-08-20 01:26:58
On Thu, 15 Aug 2002, Odhiambo G. Washington wrote:

[...]
This works, only I don't know how to tell it to go ahead and unzip the $MATCH.



        Any mail problem?  I think that sent you the answer:



:0 bfw
* From: subscribe(_at_)drweb(_dot_)ru
* ^begin .*\.zip
| (cd /homes/ayalon/sysgrp/uuddii/Procmail; uudecode)


        You can unzip if you want to:

...
| (cd /homes/ayalon/sysgrp/uuddii/Procmail; uudecode; unzip *)


        And maybe you will need:

:0 bfw
* From: subscribe(_at_)drweb(_dot_)ru
* begin .* \/.+\.zip
(cd /homes/ayalon/sysgrp/uuddii/Procmail; uudecode; unzip $MATCH)


Bye,
 Udi

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail