File: mb2md.1

package info (click to toggle)
mb2md 3.20-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 116 kB
  • ctags: 7
  • sloc: perl: 354; makefile: 47
file content (143 lines) | stat: -rw-r--r-- 4,305 bytes parent folder | download
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
.\" $Header: /aolnet/dev/src/CVS/sgml/docbook-to-man/cmd/docbook-to-man.sh,v 1.1.1.1 1998/11/13 21:31:59 db3l Exp $
.\"
.\"	transcript compatibility for postscript use.
.\"
.\"	synopsis:  .P! <file.ps>
.\"
.de P!
.fl
\!!1 setgray
.fl
\\&.\"
.fl
\!!0 setgray
.fl			\" force out current output buffer
\!!save /psv exch def currentpoint translate 0 0 moveto
\!!/showpage{}def
.fl			\" prolog
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
\!!psv restore
.
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
'\" t 
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n  
.TH "MB2MD" "1" 
.SH "NAME" 
mb2md \(em Converts Mbox mailboxes to Maildir format. 
.SH "SYNOPSIS" 
.PP 
\fBmb2md\fR [\fB-h\fP]  
.PP 
\fBmb2md\fR [\fB-m\fP]  [\fB-d \fIdestdir\fR\fP]  
.PP 
\fBmb2md\fR [-s \fIsourcedir\fR \fB-R|-f \fIsomefolder\fR\fP \fB-d \fIdestdir\fR\fP \fB-r \fIstrip_extension\fR\fP]  
.SH "DESCRIPTION" 
.PP 
This manual page documents briefly the 
\fBmb2md\fR. 
.PP 
\fBmb2md\fR  
Converts Mbox mailboxes to Maildir format. 
.SH "OPTIONS" 
.IP "\fB-h\fP         " 10 
Show summary of options. 
.IP "\fB-m\fP         " 10 
If this is used then the source will 
be the single mailbox at /var/spool/mail/blah for 
user blah and the destination mailbox will be the 
"destdir" mailbox itself. 
.IP "\fB-s\fP \fIsourcedir\fR         " 10 
Directory, relative to the user's home directory, 
which is where the the "somefolders" directories are located. 
Or if directory starts with a "/" it is taken as a 
absolute path, e.g. /mnt/oldmail/user _OR_ 
A single mbox file which will be converted to 
the destdir. 
.IP "\fB-R\fP         " 10 
If defined, do not skip directories found in a mailbox 
directory, but runs recursively into each of them, 
creating all wanted folders in Maildir. 
.IP "" 10 
Incompatible with '-f' 
.IP "\fB-f\fP \fIsomefolder\fR         " 10 
Directories, relative to "sourcedir" where the Mbox files 
are. All mailboxes in the "sourcedir" 
directory will be converted and placed in the 
"destdir" directory.  (Typically the Inbox directory 
which in this instance is also functioning as a 
folder for other mailboxes.) 
.IP "" 10 
The "somefolder" directory 
name will be encoded into the new mailboxes' names. 
See the examples below. 
.IP "" 10 
This does not save an UW IMAP dummy message file 
at the start of the Mbox file.  Small changes 
in the code could adapt it for looking for 
other distinctive patterns of dummy messages too. 
.IP "" 10 
Don't let the source directory you give as "somefolders" 
contain any "."s in its name, unless you want to 
create subfolders from the IMAP user's point of 
view.  See the example below. 
.IP "" 10 
Incompatible with '-R'  
.IP "\fB-d\fP \fIdestdir\fR         " 10 
Directory where the Maildir format directories will be created. 
If not given, then the destination will be ~/Maildir . 
Typically, this is what the IMAP server sees as the 
Inbox and the folder for all user mailboxes. 
If this begins with a '/' the path is considered to be 
absolute, otherwise it is relative to the users 
home directory. 
 
.IP "\fB-d\fP \fIstrip_extension\fR         " 10 
If defined this extension will be stripped from 
the original mailbox file name before creating 
the corresponding maildir. The extension must be 
given without the leading dot ("."). See the example below. 
 
.SH "USAGE" 
.PP 
Please read the USAGE documentation 
(zless /usr/share/doc/mb2md/USAGE.gz). 
.SH "AUTHOR" 
.PP 
This manual page was written by Noèl Köthe noel@debian.org for 
the \fBDebian\fP system (but may be used by others).  Permission is 
granted to copy, distribute and/or modify this document under 
the terms of the GNU Free Documentation 
License, Version 1.1 or any later version published by the Free 
Software Foundation; with no Invariant Sections, no Front-Cover 
Texts and no Back-Cover Texts. 
.\" created by instant / docbook-to-man, Fri 09 Apr 2004, 14:39