Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

954.Text file splitter -- How to split a text file by line and rename each file to the line contents?

User: matt Crane -- 2012-06-03          << 953  955 >>
Hits: 1866
Type: Text file splitter   
Search all Text file splitter examples
How do i split a text file by line and rename each file based on the line contents?
Input Sample:
All Quiet On The Western Front (2006).dvd.disc
Amazing Grace (2007).dvd.disc
Die Another Day (2003).dvd.disc
Output Sample:
3 seperate files called:

All Quiet On The Western Front (2006).dvd.disc

Amazing Grace (2007).dvd.disc

Die Another Day (2003).dvd.disc
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open the text file
2. open "File->Save As->Split by line/chars/bytes" menu
* set "split naming" entry to:

* set "Split File by" entry to 1, and select "Lines" option.
3. click "Next", and select a target base file name, done.

Similar Examples:
How to batch rename text files with random line from file contents? (64%)
How to sort a text file by the length of text in each line? (64%)
How to split a text file according to first word in each line? (63%)
How to limit a text file to less than 40 chars each line? (63%)
How to sort the text file by the date at the beginning of each line? (62%)
How to join all text file in a folder and remove all blank lines? (60%)
How to split a text file into multiple files with maximum 100k bytes? (59%)
How to split text file by number of bytes? (59%)

Check Demo of Text file splitter
firstline  contents  based on  split naming  naming  bytes  how to split a text file by line  split by line  splitter  text file splitter  text splitter rename  text file splitter rename  split a text file and rename  split rename  split text file and rename  split text file rename  split and rename file  split and rename line contents