Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1 | git-mailsplit(1) |
| 2 | ================ |
| 3 | |
| 4 | NAME |
| 5 | ---- |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 6 | git-mailsplit - Simple UNIX mbox splitter program |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 7 | |
| 8 | SYNOPSIS |
| 9 | -------- |
Junio C Hamano | caa712a | 2010-03-11 01:17:35 | [diff] [blame] | 10 | 'git mailsplit' [-b] [-f<nn>] [-d<prec>] [--keep-cr] -o<directory> [--] [<mbox>|<Maildir>...] |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 11 | |
| 12 | DESCRIPTION |
| 13 | ----------- |
Junio C Hamano | b7ed57a | 2007-05-25 05:01:30 | [diff] [blame] | 14 | Splits a mbox file or a Maildir into a list of files: "0001" "0002" .. in the |
| 15 | specified directory so you can process them further from there. |
| 16 | |
| 17 | IMPORTANT: Maildir splitting relies upon filenames being sorted to output |
| 18 | patches in the correct order. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 19 | |
| 20 | OPTIONS |
| 21 | ------- |
| 22 | <mbox>:: |
| 23 | Mbox file to split. If not given, the mbox is read from |
| 24 | the standard input. |
| 25 | |
Junio C Hamano | b7ed57a | 2007-05-25 05:01:30 | [diff] [blame] | 26 | <Maildir>:: |
| 27 | Root of the Maildir to split. This directory should contain the cur, tmp |
| 28 | and new subdirectories. |
| 29 | |
Junio C Hamano | 14ccc60 | 2008-06-04 23:09:21 | [diff] [blame] | 30 | -o<directory>:: |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 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 |
Junio C Hamano | 51c2ab0 | 2006-07-09 20:38:54 | [diff] [blame] | 35 | single mail message instead of signaling error. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 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 | |
Junio C Hamano | caa712a | 2010-03-11 01:17:35 | [diff] [blame] | 46 | --keep-cr:: |
| 47 | Do not remove `\r` from lines ending with `\r\n`. |
| 48 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 49 | Author |
| 50 | ------ |
| 51 | Written by Linus Torvalds <torvalds@osdl.org> |
Junio C Hamano | 0868a30 | 2008-07-22 09:20:44 | [diff] [blame] | 52 | and Junio C Hamano <gitster@pobox.com> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 53 | |
| 54 | |
| 55 | Documentation |
| 56 | -------------- |
| 57 | Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>. |
| 58 | |
| 59 | GIT |
| 60 | --- |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 61 | Part of the linkgit:git[1] suite |