blob: 4d1b871d96177ca36e7fadd115685316292dc727 [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-mailsplit(1)
2================
3
4NAME
5----
Junio C Hamano7c73c662007-01-19 00:37:506git-mailsplit - Simple UNIX mbox splitter program
Junio C Hamano1a4e8412005-12-27 08:17:237
8SYNOPSIS
9--------
Junio C Hamano15567bc2011-07-23 00:51:5910[verse]
Junio C Hamanod2179ef2010-10-22 04:12:1711'git mailsplit' [-b] [-f<nn>] [-d<prec>] [--keep-cr] -o<directory> [--] [(<mbox>|<Maildir>)...]
Junio C Hamano1a4e8412005-12-27 08:17:2312
13DESCRIPTION
14-----------
Junio C Hamanob7ed57a2007-05-25 05:01:3015Splits a mbox file or a Maildir into a list of files: "0001" "0002" .. in the
16specified directory so you can process them further from there.
17
18IMPORTANT: Maildir splitting relies upon filenames being sorted to output
19patches in the correct order.
Junio C Hamano1a4e8412005-12-27 08:17:2320
21OPTIONS
22-------
23<mbox>::
24Mbox file to split. If not given, the mbox is read from
25the standard input.
26
Junio C Hamanob7ed57a2007-05-25 05:01:3027<Maildir>::
28Root of the Maildir to split. This directory should contain the cur, tmp
29and new subdirectories.
30
Junio C Hamano14ccc602008-06-04 23:09:2131-o<directory>::
Junio C Hamano1a4e8412005-12-27 08:17:2332Directory in which to place the individual messages.
33
34-b::
35If any file doesn't begin with a From line, assume it is a
Junio C Hamano51c2ab02006-07-09 20:38:5436single mail message instead of signaling error.
Junio C Hamano1a4e8412005-12-27 08:17:2337
38-d<prec>::
39Instead of the default 4 digits with leading zeros,
40different precision can be specified for the generated
41filenames.
42
43-f<nn>::
44Skip the first <nn> numbers, for example if -f3 is specified,
45start the numbering with 0004.
46
Junio C Hamanocaa712a2010-03-11 01:17:3547--keep-cr::
48Do not remove `\r` from lines ending with `\r\n`.
49
Junio C Hamano1a4e8412005-12-27 08:17:2350GIT
51---
Junio C Hamanof7c042d2008-06-06 22:50:5352Part of the linkgit:git[1] suite