]>
Commit | Line | Data |
---|---|---|
7fc9d69f JH |
1 | git-mailsplit(1) |
2 | ================ | |
3 | ||
4 | NAME | |
5 | ---- | |
c3f0baac | 6 | git-mailsplit - Simple UNIX mbox splitter program |
7fc9d69f JH |
7 | |
8 | SYNOPSIS | |
9 | -------- | |
7791a1d9 | 10 | [verse] |
c88098d7 EW |
11 | 'git mailsplit' [-b] [-f<nn>] [-d<prec>] [--keep-cr] [--mboxrd] |
12 | -o<directory> [--] [(<mbox>|<Maildir>)...] | |
7fc9d69f JH |
13 | |
14 | DESCRIPTION | |
15 | ----------- | |
d63bd9a2 FP |
16 | Splits a mbox file or a Maildir into a list of files: "0001" "0002" .. in the |
17 | specified directory so you can process them further from there. | |
18 | ||
19 | IMPORTANT: Maildir splitting relies upon filenames being sorted to output | |
20 | patches in the correct order. | |
7fc9d69f JH |
21 | |
22 | OPTIONS | |
23 | ------- | |
f58b7432 | 24 | <mbox>:: |
8b73edf4 JH |
25 | Mbox file to split. If not given, the mbox is read from |
26 | the standard input. | |
7fc9d69f | 27 | |
d63bd9a2 FP |
28 | <Maildir>:: |
29 | Root of the Maildir to split. This directory should contain the cur, tmp | |
30 | and new subdirectories. | |
31 | ||
9e3fd411 | 32 | -o<directory>:: |
f58b7432 | 33 | Directory in which to place the individual messages. |
7fc9d69f | 34 | |
b3f041fb PA |
35 | -b:: |
36 | If any file doesn't begin with a From line, assume it is a | |
addf88e4 | 37 | single mail message instead of signaling error. |
b3f041fb | 38 | |
54ba6013 JH |
39 | -d<prec>:: |
40 | Instead of the default 4 digits with leading zeros, | |
41 | different precision can be specified for the generated | |
42 | filenames. | |
43 | ||
b3f041fb PA |
44 | -f<nn>:: |
45 | Skip the first <nn> numbers, for example if -f3 is specified, | |
46 | start the numbering with 0004. | |
54ba6013 | 47 | |
abeb09b6 SH |
48 | --keep-cr:: |
49 | Do not remove `\r` from lines ending with `\r\n`. | |
50 | ||
c88098d7 EW |
51 | --mboxrd:: |
52 | Input is of the "mboxrd" format and "^>+From " line escaping is | |
53 | reversed. | |
54 | ||
7fc9d69f JH |
55 | GIT |
56 | --- | |
9e1f0a85 | 57 | Part of the linkgit:git[1] suite |