blob: 4660eaeec0270ca31af6c94aea4bce59fd522b00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
# notmuch search --output=files tag:archive | \
# xargs -I {} sh -c 'mv {} ~/mail/archive/cur/$(basename $(echo {} | sed 's/,.*$//g'))'
# notmuch tag -archive +archived -- tag:archive
notmuch search --output=files --format=text0 tag:delete | xargs -r0 rm
mbsync -a
notmuch new
notmuch tag +assyst -- from:assyst@hoist.tech and tag:new
notmuch tag -new +inbox +unread +work -- path:work/** and tag:new
notmuch tag -new +inbox +unread +personal -- path:personal/** and tag:new
notmuch tag +inbox +unread +unknown -new -- tag:new
|