1 <h1>NOTMUCH-TAG(1)</h1>
5 notmuch-tag - add/remove tags for all messages matching the search
11 <b>notmuch</b> <b>tag</b> +<<u>tag</u>>|-<<u>tag</u>> [...] [--] <<u>search-term</u>>...
16 Add/remove tags for all messages matching the search terms.
18 See <a href='../notmuch-search-terms-7/'>notmuch-search-terms</a>(7) for details of the supported syntax for
21 Tags prefixed by '+' are added while those prefixed by '-' are removed.
22 For each message, tag removal is performed before tag addition.
24 The beginning of <search-terms> is recognized by the first argument
25 that begins with neither '+' nor '-'. Support for an initial search
26 term beginning with '+' or '-' is provided by allowing the user to
27 specify a "--" argument to separate the tags from the search terms.
29 <b>notmuch</b> <b>tag</b> updates the maildir flags according to tag changes if the
30 <b>maildir.synchronize</b>_<b>flags</b> configuration option is enabled. See <a href='../notmuch-config-1/'>notmuch-</a>
31 <a href='../notmuch-config-1/'>config</a>(1) for details.
36 <a href='../notmuch-1/'>notmuch</a>(1), <a href='../notmuch-config-1/'>notmuch-config</a>(1), <a href='../notmuch-count-1/'>notmuch-count</a>(1), <a href='../notmuch-dump-1/'>notmuch-dump</a>(1), <a href='../notmuch-hooks-5/'>not-</a>
37 <a href='../notmuch-hooks-5/'>much-hooks</a>(5), <a href='../notmuch-new-1/'>notmuch-new</a>(1), <a href='../notmuch-reply-1/'>notmuch-reply</a>(1), <a href='../notmuch-restore-1/'>notmuch-restore</a>(1),
38 <a href='../notmuch-search-1/'>notmuch-search</a>(1), <a href='../notmuch-search-terms-7/'>notmuch-search-terms</a>(7), <a href='../notmuch-show-1/'>notmuch-show</a>(1),