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 | 15567bc | 2011-07-23 00:51:59 | [diff] [blame] | 10 | [verse] |
Junio C Hamano | c6c919b | 2016-07-06 21:34:15 | [diff] [blame] | 11 | 'git mailsplit' [-b] [-f<nn>] [-d<prec>] [--keep-cr] [--mboxrd] |
| 12 | -o<directory> [--] [(<mbox>|<Maildir>)...] |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 13 | |
| 14 | DESCRIPTION |
| 15 | ----------- |
Junio C Hamano | b7ed57a | 2007-05-25 05:01:30 | [diff] [blame] | 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. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 21 | |
| 22 | OPTIONS |
| 23 | ------- |
| 24 | <mbox>:: |
| 25 | Mbox file to split. If not given, the mbox is read from |
| 26 | the standard input. |
| 27 | |
Junio C Hamano | b7ed57a | 2007-05-25 05:01:30 | [diff] [blame] | 28 | <Maildir>:: |
| 29 | Root of the Maildir to split. This directory should contain the cur, tmp |
| 30 | and new subdirectories. |
| 31 | |
Junio C Hamano | 14ccc60 | 2008-06-04 23:09:21 | [diff] [blame] | 32 | -o<directory>:: |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 33 | Directory in which to place the individual messages. |
| 34 | |
| 35 | -b:: |
| 36 | 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] | 37 | single mail message instead of signaling error. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 38 | |
| 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 | |
| 44 | -f<nn>:: |
| 45 | Skip the first <nn> numbers, for example if -f3 is specified, |
| 46 | start the numbering with 0004. |
| 47 | |
Junio C Hamano | caa712a | 2010-03-11 01:17:35 | [diff] [blame] | 48 | --keep-cr:: |
| 49 | Do not remove `\r` from lines ending with `\r\n`. |
| 50 | |
Junio C Hamano | c6c919b | 2016-07-06 21:34:15 | [diff] [blame] | 51 | --mboxrd:: |
| 52 | Input is of the "mboxrd" format and "^>+From " line escaping is |
| 53 | reversed. |
| 54 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 55 | GIT |
| 56 | --- |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 57 | Part of the linkgit:git[1] suite |