Advertisement
metalx1000

MUTT move mail by date range

Apr 7th, 2020
1,057
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #move mail by date range
  2. #create a new mailbox
  3. mkdir -p ~/.mail/2019/{cur,new,tmp}
  4.  
  5. #tag mail by date (shift-T to tag)
  6. T
  7. ~d 01/01/2019-31/12/2019
  8.  
  9. #Save tagged to mailbox
  10. # the ';' says to run the next command on tagged mail
  11. # the 's' is the command to save
  12. ;s
  13.  
  14. #either type the name of a new mailbox or '?' for a list of mailboxes
  15. ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement