diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/notmuch-tags.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/notmuch-tags.sh b/bin/notmuch-tags.sh index 3a6cbef..03afc82 100755 --- a/bin/notmuch-tags.sh +++ b/bin/notmuch-tags.sh @@ -92,11 +92,11 @@ killfile "subject:prefclean from:apt-listbugs" killfile "subject:open-thread AND Rss:astralcodexten" +1d killfile "subject:hidden-thread AND Rss:astralcodexten" +deleted -# gfeeds="grep -o -e feeds.*@localhost $HOME/.config/rss2email.cfg" -# for f in $($gfeeds | sort | uniq); do -# ftag=$(echo $f | sed 's/feeds.\(.*\)@localhost/\1/'); -# notmuch tag +rss +feeds +$ftag -- tag:new AND folder:feeds AND to:$f -# done +gfeeds="grep -o -e feeds.*@localhost $HOME/.config/rss2email.cfg" +for f in $($gfeeds | sort | uniq); do + ftag=$(echo $f | sed 's/feeds.\(.*\)@localhost/\1/'); + notmuch tag +rss +feeds +$ftag -- tag:new AND folder:feeds AND to:$f +done notmuch tag +write +jao -words -drivel -feeds \ -- "tag:new AND from:/campusdee?scrip?tura/" |