Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

507.Text file splitter -- How to split a large text file into specified various number of lines?

User: editor -- 2010-05-13          << 506  508 >>
Hits: 2534
Type: Text file splitter   
Search all Text file splitter examples
How to split a large text file into specified various number of lines?

There's a large text file that contain many lines, I want to split it into many files, the first 2 files have 1000 lines each, and the other files have 2000 lines each.
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open text file
2. open menu "File->Save As->Save to files-Split by bytes/lines"
* set "Split Naming" to:

* set "split by" to:

hint: put the mouse over the number you entered, you can see the 1000,1000,2000,2000,2000,... which is the split lines of each file.
* set bytes/lines to "Lines"
3. click "Next" and select the output file, for examples: c:\test\a.txt
4. the file will be splitted to a.001.txt, a.002.txt, a.003.txt, ...

a.001.txt and a.002.txt will have 1000 lines, all other files will have 2000 lines.

Similar Examples:
How to split a large text file into small files with maximum 1000 lines? (74%)
How to split a text file with specified start and end line and name? (70%)
How to split a text file according to specified tags? (65%)
How to re-arrange lines with in a specified number of lines? (65%)
How to split a text file into multiple files evenly on size? (65%)
How to split text file by number of bytes? (63%)
How to split a 100 line text file into 100 text files? (62%)
How to change text file format with user specified rules? (62%)

Check Demo of Text file splitter
a001  how to split a large text file  large text  split naming  naming  less  200  var  bytes  splitter  split various  split text to 2000 lines  split text file into 1000 lines  1000 text file splitter  split a large text file into lines  split files by number of lines  split text file into number of lines  large text file splitter