delete-mails 143 Bytes
Newer Older
Nico Schottelius's avatar
Nico Schottelius committed
1 2
#!/bin/sh
notmuch search --output=files --format=text0 tag:spam or tag:deleted | xargs -0 --no-run-if-empty rm
3
notmuch new --quiet 2>/dev/null