save all attachments in mutt
One annoying thing about mutt is that you can't save all a message's attachments with one command; you have to do a "Save" on each in turn. This is where mpack
comes in. After installing mpack, add the following to your muttrc:
# macro to save all picture attachments
set pipe_decode = no
macro index A "|munpack -C ~/docs/pics\n"
macro pager A "|munpack -C ~/docs/pics\n"
Now, when you select a message in index mode or pager mode, you can hit "A" and it will save all attachments to ~/docs/pics.
Posted by Alan at March 18, 2005 06:22 PM