You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mblaze/man/mflag.1

119 lines
1.8 KiB
Groff

8 years ago
.Dd July 22, 2016
.Dt MFLAG 1
.Os
.Sh NAME
.Nm mflag
.Nd manipulate maildir message flags
8 years ago
.Sh SYNOPSIS
.Nm
.Op Fl DFPRST
.Op Fl X Ar str
.br
.Op Fl dfprst
.Op Fl x Ar str
.br
.Op Fl v
.Op Ar msgs\ ...
.Sh DESCRIPTION
.Nm
changes the flags of the specified maildir
8 years ago
.Ar msgs
according to the options supplied.
.Po
8 years ago
See
.Xr mmsg 7
8 years ago
for the message argument syntax.
.Pc
8 years ago
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl D
Mark
.Ar msgs
as draft.
.It Fl F
Mark
.Ar msgs
as flagged.
.It Fl P
Mark
.Ar msgs
as passed
.Pq resent/forwarded/bounced .
8 years ago
.It Fl R
Mark
.Ar msgs
as replied.
.It Fl S
Mark
.Ar msgs
as seen.
.It Fl T
Mark
.Ar msgs
as trashed.
.It Fl X Ar str
Mark
.Ar msgs
with the characters in
8 years ago
.Ar str .
.It Fl d
Unmark
.Ar msgs
as draft.
.It Fl f
Unmark
.Ar msgs
as flagged.
.It Fl p
Unmark
.Ar msgs
as passed
.Pq resent/forwarded/bounced .
8 years ago
.It Fl r
Unmark
.Ar msgs
as replied.
.It Fl s
Unmark
.Ar msgs
as seen.
.It Fl t
Unmark
.Ar msgs
as trashed.
.It Fl x Ar str
Unmark
.Ar msgs
with the characters in
8 years ago
.Ar str .
.Pq Remember to use uppercase characters.
8 years ago
.It Fl v
Read messages from the standard input
.Pq or use the whole current sequence, if used interactively
and print the transformed list of filenames.
This can be used to keep the sequence intact in the case of renames.
8 years ago
.El
.Pp
Note that the link to
.Pa ${MBLAZE:-$HOME/.mblaze}/cur
is updated in all cases, when affected.
8 years ago
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr mmsg 7
8 years ago
.Pp
.Lk https://cr.yp.to/proto/maildir.html "Using maildir format"
.Sh AUTHORS
7 years ago
.An Leah Neukirchen Aq Mt leah@vuxu.org
8 years ago
.Sh LICENSE
.Nm
is in the public domain.
.Pp
To the extent possible under law,
the creator of this work
has waived all copyright and related or
neighboring rights to this work.
.Pp
.Lk http://creativecommons.org/publicdomain/zero/1.0/