NOTMUCH-TAG(1)						      General Commands Manual						    NOTMUCH-TAG(1)

NAME
notmuch-tag - Add/remove tags for all messages matching the search terms. SYNOPSIS
notmuch tag +<tag>|-<tag> [...] [--] <search-term>... DESCRIPTION
Add/remove tags for all messages matching the search terms. See notmuch-search-terms(7) for details of the supported syntax for <search-terms>. Tags prefixed by '+' are added while those prefixed by '-' are removed. For each message, tag removal is performed before tag addition. The beginning of <search-terms> is recognized by the first argument that begins with neither '+' nor '-'. Support for an initial search term beginning with '+' or '-' is provided by allowing the user to specify a "--" argument to separate the tags from the search terms. notmuch tag updates the maildir flags according to tag changes if the maildir.synchronize_flags configuration option is enabled. See not- much-config(1) for details. SEE ALSO
notmuch(1), notmuch-config(1), notmuch-count(1), notmuch-dump(1), notmuch-hooks(5), notmuch-new(1), notmuch-reply(1), notmuch-restore(1), notmuch-search(1), notmuch-search-terms(7), notmuch-show(1), Notmuch 0.13.2 2012-06-01 NOTMUCH-TAG(1)