nsbin/delete-mails
2017-03-08 07:37:05 +01:00

3 lines
143 B
Bash
Executable file

#!/bin/sh
notmuch search --output=files --format=text0 tag:spam or tag:deleted | xargs -0 --no-run-if-empty rm
notmuch new --quiet 2>/dev/null