Save all attachments to directory and view in dired

39 views
Skip to first unread message

Ben Maughan

unread,
Apr 18, 2016, 4:40:44 PM4/18/16
to mu-discuss
Hi all,

This was posted on Reddit recently but in case you didn't see it, it's some useful code (not by me) to extract all attachments to a directory whose name is automatically generated from the email subject, and then view the directory in dired.

https://gist.github.com/philjackson/aecfab1706f05079aec7000e328fd183

Cheers,
 Ben

Eduardo Mercovich

unread,
Apr 25, 2016, 4:04:20 PM4/25/16
to mu-di...@googlegroups.com
Hi Ben.

> [...] it's some useful code (not by me) to extract all attachments to
> a directory whose name is automatically generated from the email
> subject, and then view the directory in dired.
> https://gist.github.com/philjackson/aecfab1706f05079aec7000e328fd183

Thanks a lot for the pointer Ben! As always, useful and to the point. :)

I added it to my init file, called it with "M-x view-attachments-dired"
and worked perfectly. :)

Wouldn't it be useful to add it to the message actions?

BTW, if anyone has a good source of mu4e's info (apart from this great list, of
course), please do post it so we can all check it.

Best...

--
eduardo mercovich

Donde se cruzan tus talentos
con las necesidades del mundo,
ahí está tu vocación.
Reply all
Reply to author
Forward
0 new messages