notmuch-tag(1) on Linux
The text a82566d9817d, as Debian 13 (Trixie) shipped it.
add/remove tags for all messages matching the search terms
Flags it lists
-
--batch -
--input -
--remove-all