diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/bin/checkmail.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/bin/checkmail.sh b/scripts/bin/checkmail.sh index 9da8052..c823b94 100755 --- a/scripts/bin/checkmail.sh +++ b/scripts/bin/checkmail.sh | |||
| @@ -1,10 +1,13 @@ | |||
| 1 | #!/usr/bin/env bash | 1 | #!/usr/bin/env bash |
| 2 | #parallel gmi sync --no-progress -C ::: ~/.mail/jason_zzq.gmail ~/.mail/jason_hitched.gmail | 2 | source ~/.virtualenvs/lieer/bin/activate |
| 3 | cd ~/.mail/jason_zzq.gmail && gmi sync | 3 | parallel gmi sync --no-progress -C ::: ~/.mail/jason_zzq.gmail ~/.mail/jason_hitched.gmail |
| 4 | cd ~/.mail/jason_hitched.gmail && gmi sync | 4 | #cd ~/.mail/jason_zzq.gmail && gmi sync |
| 5 | cd ~ | 5 | #cd ~/.mail/jason_hitched.gmail && gmi sync |
| 6 | #cd ~ | ||
| 6 | 7 | ||
| 7 | notmuch tag -important \* | 8 | notmuch tag -important \* |
| 9 | notmuch tag -inbox -unread "tag:trash" | ||
| 10 | notmuch tag -inbox -unread "tag:spam" | ||
| 8 | 11 | ||
| 9 | notmuch tag +hitched "folder:/.*jason_hitched\.gmail/" | 12 | notmuch tag +hitched "folder:/.*jason_hitched\.gmail/" |
| 10 | notmuch tag -hitched -inbox "tag:debezium" | 13 | notmuch tag -hitched -inbox "tag:debezium" |