2012-08-20 14:48:00 +02:00
|
|
|
.TH NOTMUCH-TAG 1 2012-08-20 "Notmuch 0.14"
|
2011-12-19 03:38:24 +01:00
|
|
|
.SH NAME
|
2012-06-24 23:53:27 +02:00
|
|
|
notmuch-tag \- add/remove tags for all messages matching the search terms
|
2011-12-19 03:38:24 +01:00
|
|
|
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B notmuch tag
|
2012-12-25 20:42:45 +01:00
|
|
|
.RI "+<" tag ">|\-<" tag "> [...] [\-\-] <" search-term "> [...]"
|
2011-12-19 03:38:24 +01:00
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
|
|
|
Add/remove tags for all messages matching the search terms.
|
|
|
|
|
2011-12-20 02:41:48 +01:00
|
|
|
See \fBnotmuch-search-terms\fR(7)
|
2012-12-25 20:42:45 +01:00
|
|
|
for details of the supported syntax for
|
|
|
|
.RI < search-term >.
|
2011-12-20 02:41:48 +01:00
|
|
|
|
2011-12-19 03:38:24 +01:00
|
|
|
Tags prefixed by '+' are added while those prefixed by '\-' are
|
|
|
|
removed. For each message, tag removal is performed before tag
|
|
|
|
addition.
|
|
|
|
|
2012-12-25 20:42:45 +01:00
|
|
|
The beginning of the search terms is recognized by the first
|
2011-12-19 03:38:24 +01:00
|
|
|
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.
|
|
|
|
|
2012-02-25 23:57:23 +01:00
|
|
|
.B "notmuch tag"
|
|
|
|
updates the maildir flags according to tag changes if the
|
|
|
|
.B "maildir.synchronize_flags"
|
|
|
|
configuration option is enabled. See \fBnotmuch-config\fR(1) for
|
|
|
|
details.
|
|
|
|
|
2011-12-20 02:41:48 +01:00
|
|
|
.SH SEE ALSO
|
|
|
|
|
|
|
|
\fBnotmuch\fR(1), \fBnotmuch-config\fR(1), \fBnotmuch-count\fR(1),
|
2012-03-11 22:36:16 +01:00
|
|
|
\fBnotmuch-dump\fR(1), \fBnotmuch-hooks\fR(5), \fBnotmuch-new\fR(1),
|
|
|
|
\fBnotmuch-reply\fR(1), \fBnotmuch-restore\fR(1),
|
|
|
|
\fBnotmuch-search\fR(1), \fBnotmuch-search-terms\fR(7),
|
|
|
|
\fBnotmuch-show\fR(1),
|