tag all tagged events (event.foobar) with the general 'event' tag

This commit is contained in:
2021-01-14 10:11:08 +01:00
parent cc6fc53333
commit e135d0bd55
2 changed files with 4 additions and 1 deletions

View File

@@ -43,6 +43,9 @@ notmuch tag +archive -- path:ARCHIVE/**
echo "[DEBUG] Tag mails in in INBOX folder"
notmuch tag +inbox -- path:INBOX/**
# Tag all tagged events with the general "event" tag
notmuch tag +event -- tag:"/event.*/"
# Automatic tagging based on location of mails in folders
echo "[DEBUG] Tag mails based on their folder (tag-folder.sh)"
bash $CURDIR/scripts/tag-folder.sh # generates commands from tag-folder.csv