From d5ac7d2ef562c276225f6f9019be7b9a00d399a2 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Tue, 7 Jan 2025 17:52:53 +0100 Subject: . --- home/dots/mail/.notmuch/hooks/pre-new | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'home/dots/mail/.notmuch/hooks/pre-new') diff --git a/home/dots/mail/.notmuch/hooks/pre-new b/home/dots/mail/.notmuch/hooks/pre-new index 949d909..b39a33c 100755 --- a/home/dots/mail/.notmuch/hooks/pre-new +++ b/home/dots/mail/.notmuch/hooks/pre-new @@ -1,8 +1,2 @@ #!/run/current-system/profile/bin/bash -notmuch search --output=files "path:/.*/INBOX/" tag:home and tag:deleted | while IFS= read -r f; do mv -v $f $(echo $f | sed 's/INBOX/Trash/' | sed 's/,U=[0-9]*:/:/'); done - -notmuch search --output=files "path:/.*/INBOX/" tag:home and tag:receipt and not tag:inbox | while IFS= read -r f; do mv -v $f $(echo $f | sed 's/INBOX/Archive\/Receipt/' | sed 's/,U=[0-9]*:/:/'); done - -notmuch search --output=files "path:/.*/INBOX/" tag:home and tag:flight and not tag:inbox | while IFS= read -r f; do mv -v $f $(echo $f | sed 's/INBOX/Archive\/Flight/' | sed 's/,U=[0-9]*:/:/'); done - -notmuch search --output=files "path:/.*/INBOX/" tag:home and not tag:inbox | while IFS= read -r f; do mv -v $f $(echo $f | sed 's/INBOX/Archive/' | sed 's/,U=[0-9]*:/:/'); done +# Home -- cgit v1.2.3