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] [--mboxrd]
10 -o<directory> [--] [(<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
47 --mboxrd
48 Input is of the "mboxrd" format and "^>+From " line escaping is
49 reversed.
50
52 Part of the git(1) suite
53
54
55
56Git 2.31.1 2021-03-26 GIT-MAILSPLIT(1)