Split is a Python program to split text files into several parts.
Usage: split.py [options] file
Split a text file into X number of files (2 by default)
–version show program’s version number and exit
-h, –help show this help message and exit
-m, –man Print manual
-p PARTS, –parts=PARTS
Number of parts to split the file into
This program will split the given text file in 2 parts (2 parts by
default, the number of parts can be changed with option -p). Each
resulting file has suffix _part_?? where ?? is the number of the file
(01, 02, …). The extension remains the same.
The first line of text is written to _part_01, the second line of text
is written to _part_02, and so on, until the last part _part_?? is
written to. Then the cycle starts again with the first part _part_01.