git-mailsplit.1   [plain text]


'\" t
.\"     Title: git-mailsplit
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\"      Date: 06/01/2011
.\"    Manual: Git Manual
.\"    Source: Git 1.7.5.4
.\"  Language: English
.\"
.TH "GIT\-MAILSPLIT" "1" "06/01/2011" "Git 1\&.7\&.5\&.4" "Git Manual"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
git-mailsplit \- Simple UNIX mbox splitter program
.SH "SYNOPSIS"
.sp
\fIgit mailsplit\fR [\-b] [\-f<nn>] [\-d<prec>] [\-\-keep\-cr] \-o<directory> [\-\-] [(<mbox>|<Maildir>)\&...]
.SH "DESCRIPTION"
.sp
Splits a mbox file or a Maildir into a list of files: "0001" "0002" \&.\&. in the specified directory so you can process them further from there\&.
.if n \{\
.sp
.\}
.RS 4
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBImportant\fR
.ps -1
.br
.sp
Maildir splitting relies upon filenames being sorted to output patches in the correct order\&.
.sp .5v
.RE
.SH "OPTIONS"
.PP
<mbox>
.RS 4
Mbox file to split\&. If not given, the mbox is read from the standard input\&.
.RE
.PP
<Maildir>
.RS 4
Root of the Maildir to split\&. This directory should contain the cur, tmp and new subdirectories\&.
.RE
.PP
\-o<directory>
.RS 4
Directory in which to place the individual messages\&.
.RE
.PP
\-b
.RS 4
If any file doesn\(cqt begin with a From line, assume it is a single mail message instead of signaling error\&.
.RE
.PP
\-d<prec>
.RS 4
Instead of the default 4 digits with leading zeros, different precision can be specified for the generated filenames\&.
.RE
.PP
\-f<nn>
.RS 4
Skip the first <nn> numbers, for example if \-f3 is specified, start the numbering with 0004\&.
.RE
.PP
\-\-keep\-cr
.RS 4
Do not remove
\er
from lines ending with
\er\en\&.
.RE
.SH "GIT"
.sp
Part of the \fBgit\fR(1) suite