aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardofSprites <[email protected]>2025-01-08 17:55:57 -0500
committerBardofSprites <[email protected]>2025-01-08 17:55:57 -0500
commitedb6fe043a145c495ff1fcb4b9bfee4fe3729c71 (patch)
tree58302fe309e9774aa2837616666ca67d6e881e98
parent79f4f506aab21f1afcd83f90b7d76dffed8c5260 (diff)
cleans emails marked del
-rwxr-xr-xbin/.local/bin/scripts/cleanmail4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/.local/bin/scripts/cleanmail b/bin/.local/bin/scripts/cleanmail
new file mode 100755
index 0000000..9a21e10
--- /dev/null
+++ b/bin/.local/bin/scripts/cleanmail
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+notmuch search --format=text0 --output=files tag:del | xargs -0 --no-run-if-empty rm
+notmuch new