logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

git-mailsplit.1 (2827B)


  1. '\" t
  2. .\" Title: git-mailsplit
  3. .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
  4. .\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/>
  5. .\" Date: 2025-03-14
  6. .\" Manual: Git Manual
  7. .\" Source: Git 2.49.0
  8. .\" Language: English
  9. .\"
  10. .TH "GIT\-MAILSPLIT" "1" "2025-03-14" "Git 2\&.49\&.0" "Git Manual"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. git-mailsplit \- Simple UNIX mbox splitter program
  32. .SH "SYNOPSIS"
  33. .sp
  34. .nf
  35. \fIgit mailsplit\fR [\-b] [\-f<nn>] [\-d<prec>] [\-\-keep\-cr] [\-\-mboxrd]
  36. \-o<directory> [\-\-] [(<mbox>|<Maildir>)\&...\:]
  37. .fi
  38. .SH "DESCRIPTION"
  39. .sp
  40. 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\&.
  41. .if n \{\
  42. .sp
  43. .\}
  44. .RS 4
  45. .it 1 an-trap
  46. .nr an-no-space-flag 1
  47. .nr an-break-flag 1
  48. .br
  49. .ps +1
  50. \fBImportant\fR
  51. .ps -1
  52. .br
  53. .sp
  54. Maildir splitting relies upon filenames being sorted to output patches in the correct order\&.
  55. .sp .5v
  56. .RE
  57. .SH "OPTIONS"
  58. .PP
  59. <mbox>
  60. .RS 4
  61. Mbox file to split\&. If not given, the mbox is read from the standard input\&.
  62. .RE
  63. .PP
  64. <Maildir>
  65. .RS 4
  66. Root of the Maildir to split\&. This directory should contain the cur, tmp and new subdirectories\&.
  67. .RE
  68. .PP
  69. \-o<directory>
  70. .RS 4
  71. Directory in which to place the individual messages\&.
  72. .RE
  73. .PP
  74. \-b
  75. .RS 4
  76. If any file doesn\(cqt begin with a From line, assume it is a single mail message instead of signaling an error\&.
  77. .RE
  78. .PP
  79. \-d<prec>
  80. .RS 4
  81. Instead of the default 4 digits with leading zeros, different precision can be specified for the generated filenames\&.
  82. .RE
  83. .PP
  84. \-f<nn>
  85. .RS 4
  86. Skip the first <nn> numbers, for example if \-f3 is specified, start the numbering with 0004\&.
  87. .RE
  88. .PP
  89. \-\-keep\-cr
  90. .RS 4
  91. Do not remove \er from lines ending with \er\en\&.
  92. .RE
  93. .PP
  94. \-\-mboxrd
  95. .RS 4
  96. Input is of the "mboxrd" format and "^>+From " line escaping is reversed\&.
  97. .RE
  98. .SH "GIT"
  99. .sp
  100. Part of the \fBgit\fR(1) suite