2 .\" Title: git-mailsplit
3 .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
4 .\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/>
7 .\" Source: Git 2.46.0.551.gc5ee8f2d1c
10 .TH "GIT\-MAILSPLIT" "1" "2024-09-10" "Git 2\&.46\&.0\&.551\&.gc5ee8f" "Git Manual"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 git-mailsplit \- Simple UNIX mbox splitter program
35 \fIgit mailsplit\fR [\-b] [\-f<nn>] [\-d<prec>] [\-\-keep\-cr] [\-\-mboxrd]
36 \-o<directory> [\-\-] [(<mbox>|<Maildir>)\&...\:]
40 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\&.
46 .nr an-no-space-flag 1
54 Maildir splitting relies upon filenames being sorted to output patches in the correct order\&.
61 Mbox file to split\&. If not given, the mbox is read from the standard input\&.
66 Root of the Maildir to split\&. This directory should contain the cur, tmp and new subdirectories\&.
71 Directory in which to place the individual messages\&.
76 If any file doesn\(cqt begin with a From line, assume it is a single mail message instead of signaling an error\&.
81 Instead of the default 4 digits with leading zeros, different precision can be specified for the generated filenames\&.
86 Skip the first <nn> numbers, for example if \-f3 is specified, start the numbering with 0004\&.
93 from lines ending with
99 Input is of the "mboxrd" format and "^>+From " line escaping is reversed\&.
103 Part of the \fBgit\fR(1) suite