2016-07-22 19:36:46 +00:00
|
|
|
.Dd July 22, 2016
|
|
|
|
.Dt MFLAG 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm mflag
|
2018-02-02 18:59:51 +00:00
|
|
|
.Nd manipulate maildir flags
|
2016-07-22 19:36:46 +00:00
|
|
|
.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
|
2018-02-02 18:59:51 +00:00
|
|
|
changes the flags of the specified maildir
|
2016-07-22 19:36:46 +00:00
|
|
|
.Ar msgs
|
2017-07-01 13:43:35 +00:00
|
|
|
according to the options supplied.
|
2018-02-02 18:59:51 +00:00
|
|
|
.Po
|
2016-07-22 19:36:46 +00:00
|
|
|
See
|
2016-07-22 19:43:03 +00:00
|
|
|
.Xr mmsg 7
|
2016-07-22 19:36:46 +00:00
|
|
|
for the message argument syntax.
|
2018-02-02 18:59:51 +00:00
|
|
|
.Pc
|
2016-07-22 19:36:46 +00:00
|
|
|
.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
|
2018-02-02 18:59:51 +00:00
|
|
|
as passed
|
|
|
|
.Pq resent/forwarded/bounced .
|
2016-07-22 19:36:46 +00:00
|
|
|
.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
|
2017-06-30 14:04:55 +00:00
|
|
|
with the characters in
|
2016-07-22 19:36:46 +00:00
|
|
|
.Ar str .
|
|
|
|
.It Fl d
|
|
|
|
Unmark
|
|
|
|
.Ar msgs
|
|
|
|
as draft.
|
|
|
|
.It Fl f
|
|
|
|
Unmark
|
|
|
|
.Ar msgs
|
|
|
|
as flagged.
|
|
|
|
.It Fl p
|
|
|
|
Unmark
|
|
|
|
.Ar msgs
|
2018-02-02 18:59:51 +00:00
|
|
|
as passed
|
|
|
|
.Pq resent/forwarded/bounced .
|
2016-07-22 19:36:46 +00:00
|
|
|
.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
|
2017-06-30 14:04:55 +00:00
|
|
|
with the characters in
|
2016-07-22 19:36:46 +00:00
|
|
|
.Ar str .
|
2018-02-02 18:59:51 +00:00
|
|
|
.Pq Remember to use uppercase characters.
|
2016-07-22 19:36:46 +00:00
|
|
|
.It Fl v
|
2018-02-02 18:59:51 +00:00
|
|
|
Read messages from the standard input
|
|
|
|
.Pq or use the whole current sequence, if used interactively
|
2017-07-02 16:22:51 +00:00
|
|
|
and print the transformed list of filenames.
|
2017-06-30 14:04:55 +00:00
|
|
|
This can be used to keep the sequence intact in the case of renames.
|
2016-07-22 19:36:46 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
2017-07-01 13:43:35 +00:00
|
|
|
Note that the link to
|
|
|
|
.Pa ${MBLAZE:-$HOME/.mblaze}/cur
|
|
|
|
is updated in all cases, when affected.
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Ex -std
|
|
|
|
.Sh SEE ALSO
|
2016-07-22 19:43:03 +00:00
|
|
|
.Xr mmsg 7
|
2016-07-22 19:36:46 +00:00
|
|
|
.Pp
|
|
|
|
.Lk https://cr.yp.to/proto/maildir.html "Using maildir format"
|
|
|
|
.Sh AUTHORS
|
2017-01-21 16:17:12 +00:00
|
|
|
.An Leah Neukirchen Aq Mt leah@vuxu.org
|
2016-07-22 19:36:46 +00:00
|
|
|
.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/
|