2018-04-19 17:22:20 +00:00
|
|
|
.Dd April 19, 2018
|
|
|
|
.Dt MREFILE 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm mrefile
|
|
|
|
.Nd move or copy messages between maildir folders
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Fl k
|
|
|
|
.Op Fl v
|
|
|
|
.Op Ar msgs\ ...
|
|
|
|
.Ar dir
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2018-04-23 14:19:51 +00:00
|
|
|
moves the
|
|
|
|
.Ar msgs
|
|
|
|
given on the command line
|
2018-04-19 17:22:20 +00:00
|
|
|
.Pq or the standard input
|
|
|
|
into the maildir
|
|
|
|
.Ar dir ,
|
2018-04-23 14:19:51 +00:00
|
|
|
assigning new filenames but keeping any message flags.
|
|
|
|
Messages are moved directly into the
|
2018-04-19 17:22:20 +00:00
|
|
|
.Pa cur/
|
|
|
|
directory.
|
2018-04-23 14:19:51 +00:00
|
|
|
.Po
|
2018-04-19 17:22:20 +00:00
|
|
|
See
|
|
|
|
.Xr mmsg 7
|
|
|
|
for the message argument syntax.
|
2018-04-23 14:19:51 +00:00
|
|
|
.Pc
|
2018-04-19 17:22:20 +00:00
|
|
|
.Pp
|
|
|
|
The options are as follows:
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl k
|
|
|
|
keep the messages in their respective folders,
|
|
|
|
i.e. copy into
|
|
|
|
.Ar dir .
|
|
|
|
.It Fl v
|
|
|
|
Print each resulting message filename.
|
|
|
|
.El
|
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Ex -std
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr mdeliver 1
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An Leah Neukirchen Aq Mt leah@vuxu.org
|
|
|
|
.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/
|