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