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