NOTMUCH-TAG(1) notmuch NOTMUCH-TAG(1) (NAME) notmuch-tag - / (SYNOPSIS) notmuch tag [options ...] +|- [--] ... notmuch tag --batch [--input=] (DESCRIPTION) . notmuch-search-terms <#notmuch-search-terms-7> . '+' '-' . . '+' '-'. '+' '-' "--" . maildir.synchronize_flags notmuch tag maildir . notmuch-config <#notmuch-config-1> . tag : --remove-all . . . --batch ( stdin). notmuch tag . << >> <#tag_file_format> . . --input= stdin. --batch . (TAG FILE FORMAT) : +|- [...] [--] notmuch tag . ' ' . %NN (hex) NN . UTF-8 . %20 . . tag:"tag with spaces" (double quote) . Xapian : ( ) ( ). ' ' . '#' . (EXAMPLE) . '*' (wildcard) . space in tags : +winner * +foo::bar%25 -- (One and Two) or (One and tag:winner) +found::it -- tag:foo::bar% # ignore this line and the next +space%20in%20tags -- Two # add tag '(tags)', among other stunts. +crazy{ +(tags) +&are +#possible\ -- tag:"space in tags" +match*crazy -- tag:crazy{ +some_tag -- id:"this is ""nauty)""" (SEE ALSO) notmuch <#notmuch-1>, notmuch-config <#notmuch-config-1>, notmuch-count <#notmuch-count-1>, notmuch-dump <#notmuch-dump-1>, notmuch-hooks <# notmuch-hooks-5>, notmuch-insert <#notmuch-insert-1>, notmuch-new <# notmuch-new-1>, notmuch-reply <#notmuch-reply-1>, notmuch-restore <# notmuch-restore-1>, notmuch-search <#notmuch-search-1>, notmuch-search-terms <#notmuch-search-terms-7>, notmuch-show <#notmuch- show-1>, (AUTHORS) Carl Worth (COPYRIGHT) 2009-2026, Carl Worth 0.40 April 17, 2026 NOTMUCH-TAG(1)