aboutsummaryrefslogtreecommitdiffstats
path: root/tag-emails
blob: b64be1ee6249d00f6ea9be4a2184dd5b333a364b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env bash
set -o errexit
set -o pipefail

notmuch tag --batch <<EOF
+inbox -- folder:inbox and tag:unread
-inbox -- not folder:inbox

+sent -- folder:sent
-sent -- not folder:sent

+archive -- folder:archive
-archive -- not folder:archive

+drafts -- folder:drafts
-drafts -- not folder:drafts

+spam -- folder:spam
-spam -- not folder:spam

+trash -- folder:trash
-trash -- not folder:trash


+learn-ham -- folder:learn-ham
-learn-ham -- not folder:learn-ham

+learn-spam -- folder:learn-spam
-learn-spam -- not folder:learn-spam


+arch-bugs -- folder:arch-bugs
+arch-dev-public -- folder:arch-dev-public
+arch-mirrors -- folder:arch-mirrors
+arch-women -- folder:arch-women
+aur-dev -- folder:aur-dev
+aur-general -- folder:aur-general
+aur-requests -- folder:aur-requests
+ccna -- folder:ccna
+isync-devel -- folder:isync-devel
+johannes-lothberg-gmail -- folder:johannes-lothberg-gmail
+openldap-technical -- folder:openldap-technical
+opensmtpd -- folder:opensmtpd
+openssh-unix-dev -- folder:openssh-unix-dev
+pacman-dev -- folder:pacman-dev
+ajatt -- folder:ajatt
+lojban -- folder:lojban
+git -- folder:git

EOF