From 5f686253a15d910d7c3223cc8662e06d032d3554 Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 18 Sep 2025 22:03:50 +0100 Subject: mail and indexing tweaks --- bin/notmuch-tags.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bin') 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/" -- cgit v1.2.3