On 2015/05/31 at 08:25am, Xu Wang wrote: > When doing the following, as suggested by [1], > > <save-entry><kill-line>/home/xuwang/Downloads/<enter> > > I am presented with "File is a directory, save under it? [(y)es, (n)o, (a)ll]" > > Is there an option to choose this value in an rc variable? I cannot > seem to find it? > I would like to have the automatic response "yes".
Hello, this is a little different from what you are asking but it has the same result with less work. Have you tried ripmime? It is software designed to work with mutt and it can automatically save all attachments to a folder with minimal work. I have this in my .muttrc: macro index,pager X "<pipe-message>ripmime -i - -d " when I press X, ripmime asks for a directory and then puts all the attachments there. No need to select any attachments or confirm the saving (but you have to "press any key to continue" after it finishes). This seems to be the "official" site for ripmime: http://www.pldaniels.com/ripmime/ -- Chris Spackman GNU Terry Pratchett