summaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-09-18 22:03:50 +0100
committerjao <jao@gnu.org>2025-09-18 22:03:50 +0100
commit5f686253a15d910d7c3223cc8662e06d032d3554 (patch)
tree1a2c730a34903afaadf55c6cc838d7839f51d9ae /bin
parent595ac617f49645ebc4d875ce913b61b3e15fb427 (diff)
downloadelibs-5f686253a15d910d7c3223cc8662e06d032d3554.tar.gz
elibs-5f686253a15d910d7c3223cc8662e06d032d3554.tar.bz2
mail and indexing tweaksmain
Diffstat (limited to 'bin')
-rwxr-xr-xbin/notmuch-tags.sh10
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/"