2005-08-23 16:49:47 +08:00
|
|
|
git-mailsplit(1)
|
|
|
|
================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2007-01-19 07:53:37 +08:00
|
|
|
git-mailsplit - Simple UNIX mbox splitter program
|
2005-08-23 16:49:47 +08:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2011-07-02 10:38:26 +08:00
|
|
|
[verse]
|
2016-06-05 12:46:40 +08:00
|
|
|
'git mailsplit' [-b] [-f<nn>] [-d<prec>] [--keep-cr] [--mboxrd]
|
|
|
|
-o<directory> [--] [(<mbox>|<Maildir>)...]
|
2005-08-23 16:49:47 +08:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2007-05-25 06:15:36 +08:00
|
|
|
Splits a mbox file or a Maildir into a list of files: "0001" "0002" .. in the
|
|
|
|
specified directory so you can process them further from there.
|
|
|
|
|
|
|
|
IMPORTANT: Maildir splitting relies upon filenames being sorted to output
|
|
|
|
patches in the correct order.
|
2005-08-23 16:49:47 +08:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
2005-08-29 05:16:01 +08:00
|
|
|
<mbox>::
|
2005-10-07 06:55:43 +08:00
|
|
|
Mbox file to split. If not given, the mbox is read from
|
|
|
|
the standard input.
|
2005-08-23 16:49:47 +08:00
|
|
|
|
2007-05-25 06:15:36 +08:00
|
|
|
<Maildir>::
|
|
|
|
Root of the Maildir to split. This directory should contain the cur, tmp
|
|
|
|
and new subdirectories.
|
|
|
|
|
2008-06-05 04:50:31 +08:00
|
|
|
-o<directory>::
|
2005-08-29 05:16:01 +08:00
|
|
|
Directory in which to place the individual messages.
|
2005-08-23 16:49:47 +08:00
|
|
|
|
2005-12-14 14:39:23 +08:00
|
|
|
-b::
|
|
|
|
If any file doesn't begin with a From line, assume it is a
|
2006-07-09 15:44:30 +08:00
|
|
|
single mail message instead of signaling error.
|
2005-12-14 14:39:23 +08:00
|
|
|
|
2005-10-07 05:25:52 +08:00
|
|
|
-d<prec>::
|
|
|
|
Instead of the default 4 digits with leading zeros,
|
|
|
|
different precision can be specified for the generated
|
|
|
|
filenames.
|
|
|
|
|
2005-12-14 14:39:23 +08:00
|
|
|
-f<nn>::
|
|
|
|
Skip the first <nn> numbers, for example if -f3 is specified,
|
|
|
|
start the numbering with 0004.
|
2005-10-07 05:25:52 +08:00
|
|
|
|
2010-02-27 22:20:25 +08:00
|
|
|
--keep-cr::
|
|
|
|
Do not remove `\r` from lines ending with `\r\n`.
|
|
|
|
|
2016-06-05 12:46:40 +08:00
|
|
|
--mboxrd::
|
|
|
|
Input is of the "mboxrd" format and "^>+From " line escaping is
|
|
|
|
reversed.
|
|
|
|
|
2005-08-23 16:49:47 +08:00
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 15:07:32 +08:00
|
|
|
Part of the linkgit:git[1] suite
|