Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1313.Text file splitter -- How to split multiple text files, and append line N to N.txt

User: Aaron -- 2015-07-22          << 1312  1314 >>
Hits: 3218
Type: Text file splitter   
Search all Text file splitter examples
Description:
I would like to split multiple text files by line and save each to their own  
file. 
 
Thanks
Input Sample:
File A: 
 
"Aaaa  aaa aaa?" 
Bbbbb bbb bb. 
Cc cccc ccc. 
etc. 
 
File B: 
 
Aaaaaaa aaaaaa. 
B b bbb b. 
"Cccc?" 
etc.
Output Sample:
Output file 1: 
 
"Aaaa  aaa aaa?" 
Aaaaaaa aaaaaa. 
etc. 
 
Output file 2: 
 
Bbbbb bbb bb. 
B b bbb b. 
etc.  
 
Output file 3: 
 
Cc cccc ccc. 
"Cccc?" 
etc.
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
Assume you want to split file to c:\temp\1.txt, 2.txt, ... 
1. ctrl-h open replace window 
* set 'replace unit' to 'Line' 
* click 'advanced' tab: 
  set 'run following for each matched unit' to: 
 
or 
 
2. click 'batch' button open 'batch runner' window 
3. drag multiple files to 'batch runner' window 
4. check 'set output filename', and set the entry to be blank(default is ${FILENAME} 
5. click 'batch replace', done.

Screenshot 1:  Replace_Window


Screenshot 2:  Replace_Advanced_Window


Similar Examples:
How to split multiple text files by 100 lines? (76%)
How to refine multiple text files by specified rules? (65%)
How to batch rename text files with random line from file contents? (62%)
How to combine multiple pairs of text files line by line? (61%)
How to replace strings in multiple text files with an increasing id start from 1? (58%)
How to join corresponding line of multiple text files with specified format? (57%)
How to convert multiple text files to html files with self-defined format? (57%)
How to replace multiple text in multiple files with variable strings? (57%)

Check Demo of Text file splitter
Keywords:
echo  append line  system  split multiple  splitter  text file splitter  append  ppen  blank  tem  text file splitter blank line  batch file split output by blank line  txt file splitter batch  txt splitter batch  batch txt splitter  batch text splitter  batch splitter text  batch text file splitter