Aim: search email items using alias It is very neccessary to search email by the name, since we usually can not rember the email address, but the names.
However, there is no built-in solutions to do this.
Solution Since mutt extact the name from a file called alias, and mutt has very handy function of limit.
I build a workflow by reading the input (name), and find the email address by sed etc.
Problem: Forward attachment in mutt is hard This is a pain for every mutt user. I got a solution which can satisfy my need.
Solution Add these two lines to your .muttrc. This will forward an email with the text self.
unset mime_forward set mime_forward_rest=yes Add the following line to your .vimrc too. This will tag all attachments but the first one may not include, which depend on the number of attachments.
Problem: How to save attachments in mutt? No built-in solution for save multiple attachments to special folder in mutt. I spent couple hours to develop a workflow for doing this.
Solution In muttrc:
macro attach s "<shell-escape>~/.config/mutt/bin/saveattach.sh\n:source /tmp/from\ns" "Save attachment to specific folder" macro attach S "<shell-escape>~/.config/mutt/bin/saveattach.sh\n:source /tmp/from\ns" "Save attachment to specific folder" Shell script in ~/.config/mutt/bin/saveattach.sh
#!/bin/bash if [[ -e /tmp/from ]]; then rm /tmp/from fi echo $HOME"//" > /tmp/from nvim "+normal G$" +startinsert /tmp/from path=`cat /tmp/from` echo $path if [[ !
Install Download from github: mingsu/mutt2task git clone https://github.com/mingsu/mutt2task ~/.mutt/bin/mutt2task chmod +x ~/.mutt/bin/mutt2task/mutt2task Add this to .muttrc macro index,pager T "<pipe-message>~/.mutt/bin/mutt2task<enter>" Or the following one macro index I "<pipe-message>~/.mutt/bin/mutt2task<enter><flag-message><sync-mailbox>" "flag message as important and mark as a task" Code #!/bin/sh # Author: Ming Su <firstname.lastname@example.org> # macro index,pager T "<pipe-message>~/.mutt/bin/mutt2task<enter>" # Or the following one # macro index I "<pipe-message>~/.mutt/bin/mutt2task<enter><flag-message><sync-mailbox>" "flag message as important and mark as a task" # 自
What I get Real Demo: Hugo gallery with photoswipe feature Source code: http://drwater.net/RFun/makegallery.R References A tool for creating PhotoSwipe galleries in Hugo Main function Generate different size of images so that for using photoswipe feature, including LARGE, SMALL, THUMB, and COVER IMAGE for each album Auto add original datetime tags for each image Auto fix the rotation problem Auto add copyright watermark for each image It requires: imagemagick exiftools git R package exifr R package tidyverse How to use here is the folder structure I have