blob: c8532d4454b7faed69f7cc9fdc94521a8c3a6450 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
. $HOME/.shenv
# mark all sent mail as read
notmuch tag -unread -- folder:sent
# mark all drafts as drafts, and as read
notmuch tag -unread +draft -- folder:drafts
# mark all spam as spam
notmuch tag +spam -- folder:spam
# mark all trash as trash
notmuch tag +deleted -- folder:trash
|