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