about summary refs log tree commit diff
path: root/man/mrefile.1
blob: da9ad411482eb854e0c575596155000ef57fc5c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.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
moves the
.Ar msgs
given on the command line
.Pq or the standard input
into the maildir
.Ar dir ,
assigning new filenames but keeping any message flags.
Messages are moved directly into the
.Pa cur/
directory.
.Po
See
.Xr mmsg 7
for the message argument syntax.
.Pc
.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/