+ $ notmuch search --output=files tag:deleted | xargs -l rm
+
+## <span id="exclude">**killing threads**</span>
+
+In a [hook](https://notmuchmail.org/doc/latest/man5/notmuch-hooks.html)
+
+ notmuch tag +muted $(notmuch search --output=threads tag:muted)
+
+New messages in the thread get the muted tag. Make muted an excluded tag (see
+above). To kill a thread, tag it with muted, run notmuch new.