]> git.notmuchmail.org Git - notmuch/blob - man/man1/notmuch-tag.1
9444aa4362aebfdc36326b4a4d387b53ee5da8ff
[notmuch] / man / man1 / notmuch-tag.1
1 .TH NOTMUCH-TAG 1 2012-08-20 "Notmuch 0.14"
2 .SH NAME
3 notmuch-tag \- add/remove tags for all messages matching the search terms
4
5 .SH SYNOPSIS
6 .B notmuch tag
7 .RI "+<" tag ">|\-<" tag "> [...] [\-\-] <" search-term "> [...]"
8
9 .SH DESCRIPTION
10
11 Add/remove tags for all messages matching the search terms.
12
13 See \fBnotmuch-search-terms\fR(7)
14 for details of the supported syntax for
15 .RI < search-term >.
16
17 Tags prefixed by '+' are added while those prefixed by '\-' are
18 removed. For each message, tag removal is performed before tag
19 addition.
20
21 The beginning of the search terms is recognized by the first
22 argument that begins with neither '+' nor '\-'. Support for
23 an initial search term beginning with '+' or '\-' is provided
24 by allowing the user to specify a "\-\-" argument to separate
25 the tags from the search terms.
26
27 .B "notmuch tag"
28 updates the maildir flags according to tag changes if the
29 .B "maildir.synchronize_flags"
30 configuration option is enabled. See \fBnotmuch-config\fR(1) for
31 details.
32
33 .SH SEE ALSO
34
35 \fBnotmuch\fR(1), \fBnotmuch-config\fR(1), \fBnotmuch-count\fR(1),
36 \fBnotmuch-dump\fR(1), \fBnotmuch-hooks\fR(5), \fBnotmuch-new\fR(1),
37 \fBnotmuch-reply\fR(1), \fBnotmuch-restore\fR(1),
38 \fBnotmuch-search\fR(1), \fBnotmuch-search-terms\fR(7),
39 \fBnotmuch-show\fR(1),