man-pages/man1/git-mailsplit.1.html
2021-03-31 01:06:50 +01:00

153 lines
2.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GIT-MAILSPLIT</TITLE>
</HEAD><BODY>
<H1>GIT-MAILSPLIT</H1>
Section: Git Manual (1)<BR>Updated: 03/04/2021<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
git-mailsplit - Simple UNIX mbox splitter program
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<P>
<PRE>
<I>git mailsplit</I> [-b] [-f&lt;nn&gt;] [-d&lt;prec&gt;] [--keep-cr] [--mboxrd]
-o&lt;directory&gt; [--] [(&lt;mbox&gt;|&lt;Maildir&gt;)...]
</PRE>
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
Splits a mbox file or a Maildir into a list of files: &quot;0001&quot; &quot;0002&quot; .. in the specified directory so you can process them further from there.
<P>
<DL COMPACT><DT id="1"><DD>
<BR>
<FONT SIZE="+1">
<B>Important</B>
</FONT>
<BR>
<P>
Maildir splitting relies upon filenames being sorted to output patches in the correct order.
<P>
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<P>
&lt;mbox&gt;
<DL COMPACT><DT id="2"><DD>
Mbox file to split. If not given, the mbox is read from the standard input.
</DL>
<P>
&lt;Maildir&gt;
<DL COMPACT><DT id="3"><DD>
Root of the Maildir to split. This directory should contain the cur, tmp and new subdirectories.
</DL>
<P>
-o&lt;directory&gt;
<DL COMPACT><DT id="4"><DD>
Directory in which to place the individual messages.
</DL>
<P>
-b
<DL COMPACT><DT id="5"><DD>
If any file doesn't begin with a From line, assume it is a single mail message instead of signaling error.
</DL>
<P>
-d&lt;prec&gt;
<DL COMPACT><DT id="6"><DD>
Instead of the default 4 digits with leading zeros, different precision can be specified for the generated filenames.
</DL>
<P>
-f&lt;nn&gt;
<DL COMPACT><DT id="7"><DD>
Skip the first &lt;nn&gt; numbers, for example if -f3 is specified, start the numbering with 0004.
</DL>
<P>
--keep-cr
<DL COMPACT><DT id="8"><DD>
Do not remove
<B>\r</B>
from lines ending with
<B>\r\n</B>.
</DL>
<P>
--mboxrd
<DL COMPACT><DT id="9"><DD>
Input is of the &quot;mboxrd&quot; format and &quot;^&gt;+From &quot; line escaping is reversed.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>GIT</H2>
<P>
Part of the <B><A HREF="/cgi-bin/man/man2html?1+git">git</A></B>(1) suite
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="10"><A HREF="#lbAB">NAME</A><DD>
<DT id="11"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="12"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="13"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="14"><A HREF="#lbAF">GIT</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:14 GMT, March 31, 2021
</BODY>
</HTML>