From b77d5e4786aab7b2b6729b848bfedd11bc946d7f Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 8 Jan 2020 08:59:47 -0500 Subject: [PATCH] Delete email marked for deletion when syncing --- systemd/.config/systemd/user/syncmail.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systemd/.config/systemd/user/syncmail.sh b/systemd/.config/systemd/user/syncmail.sh index 772b81c..1f93fd9 100755 --- a/systemd/.config/systemd/user/syncmail.sh +++ b/systemd/.config/systemd/user/syncmail.sh @@ -4,6 +4,8 @@ STATE=`nmcli networking connectivity` if [ $STATE = 'full' ] then + notmuch search --output=files tag:deleted | xargs -l rm + notmuch new muchsync rhea.unbl.ink exit 0 fi