Gerald --

...and then Gerald Manipon said...
% Can anyone please help me?
% How do I automate saving an attachment to disk without having to go through

The most automated way I've found is to pump the email through munpack,
which breaks apart all of the attachments.  I've even whipped up a little
wmunpack script to reset my umask (to world-readable) and drop the
attachments in my web dir so that I can pick 'em up from another site
(since I ssh in to read my mail) and just pipe the email through that
when I hit something I need to download (zip file, word doc, etcetc).

If you want to stay within mutt, you could probably whip up some sort of
macro, but it's pretty easy to just hit 'v' to see the attachment list
and scroll down to pick the one you want -- and it would probably be
pretty hard to automate that without knowing in advance the number of the
attachment you wanted.


% the Mutt GUI interface?

Don't call it a GUI or you might get folks mad at you ;-)


:-D
-- 
David T-G                       * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]      * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/        Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*

PGP signature

Reply via email to