On Sun, Nov 21, 2010 at 09:59:50AM -0600, David Champion wrote:
> * On 20 Nov 2010, Chris G wrote: 
> > By default mutt saves attachments in the current directory (i.e. in the
> > directory in which it was started).  In my case this is often somewhere
> > completely random and most definitely isn't where I want to save
> > attachments.
> > 
> > Apart from being careful about the dreictory from which I start mutt is
> > there any way to force it to always save attachments to the same place
> > (for example ~/tmp)?
> 
> I have recently begun wanting to do this, and created this macro:
> 
> macro   attach  S   "<save-entry><bol>~/maildrop/<enter>" "Save to maildrop 
> folder"
> 
> (~/maildrop is a zfs filesystem on my opensolaris server that is
> nfs-exported to an IP address controlled by OpenVPN.  I use OpenVPN
> client on my Macbook and mount maildrop wherever I go.)
> 

I just tried:-

    macro   attach  S "<save-entry><bol>~/tmp/<enter>" "Save to ~/tmp"

and it sort of works but it's a bit laborious because you have to accept
the directory to save to and then enter the file name to save to. However
simply changing it to:-

    macro   attach  S "<save-entry><bol>~/tmp/<eol>" "Save to ~/tmp" 

does exactly what I want, it offers to save the file with the existing
attachment filename in ~/tmp, just hit CR and it's saved.


Thanks for pointing me in the right direction.

-- 
Chris Green

Reply via email to