Monday, March 28, 2011

Applying Mutt function to multiple messages

Sometimes you may need to apply a function to more than one message in mutt. Let's say mark all the messages in a folder as read. In this case, you need to tag all the messages. SHIFT-T will ask you for the pattern. Just type "all". Then, use the tag-prefix command ";" to apply the function.

The function to mark a message as read is "W r". The letter "W" to clear a flag. And the letter "N" is the flag indicating a New Message. When you hit enter these keys combination after tagging messages, you will notice all messages has been processed.