1GIT-MAILSPLIT(1) Git Manual GIT-MAILSPLIT(1)
2
3
4
6 git-mailsplit - Simple UNIX mbox splitter program
7
9 git mailsplit [-b] [-f<nn>] [-d<prec>] [--keep-cr] -o<directory> [--]
10 [<mbox>|<Maildir>...]
11
13 Splits a mbox file or a Maildir into a list of files: "0001" "0002" ..
14 in the specified directory so you can process them further from there.
15
16 Important
17 Maildir splitting relies upon filenames being sorted to output
18 patches in the correct order.
19
21 <mbox>
22 Mbox file to split. If not given, the mbox is read from the
23 standard input.
24
25 <Maildir>
26 Root of the Maildir to split. This directory should contain the
27 cur, tmp and new subdirectories.
28
29 -o<directory>
30 Directory in which to place the individual messages.
31
32 -b
33 If any file doesn’t begin with a From line, assume it is a single
34 mail message instead of signaling error.
35
36 -d<prec>
37 Instead of the default 4 digits with leading zeros, different
38 precision can be specified for the generated filenames.
39
40 -f<nn>
41 Skip the first <nn> numbers, for example if -f3 is specified, start
42 the numbering with 0004.
43
44 --keep-cr
45 Do not remove \r from lines ending with \r\n.
46
48 Written by Linus Torvalds <torvalds@osdl.org[1]> and Junio C Hamano
49 <gitster@pobox.com[2]>
50
52 Documentation by Junio C Hamano and the git-list
53 <git@vger.kernel.org[3]>.
54
56 Part of the git(1) suite
57
59 1. torvalds@osdl.org
60 mailto:torvalds@osdl.org
61
62 2. gitster@pobox.com
63 mailto:gitster@pobox.com
64
65 3. git@vger.kernel.org
66 mailto:git@vger.kernel.org
67
68
69
70Git 1.7.1 08/16/2017 GIT-MAILSPLIT(1)