| User: editor -- 2008-05-23 << 148 150 >> |
| Hits: 749 |
| Type: Text file splitter |
| Search all Text file splitter examples |
| Description: |
| How to split a file into many files by chapters, and use Chapter names as filenames? |
| Input Sample: |
| Chapter 1 xxxx xxxx xxx Chapter 2 xxxx xxx xxx |
| Output Sample: |
| File Chapter_1_xxxx: ================== Chapter 1 xxxx xxxx xxx File2 Chapter_2_xxxx: ===================== Chapter 2 xxxx xxx xxx |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| 1. Press ctrl-h open 'Replace' dialog 2. Select 'Settings' page: *in 'Paragraph delimiter' part, set 'Para start' to (.)other, and enter at right: set 'Para end' to (.)none *in 'File split/backup' part, set split name to , means 001_chapter_1_xxx 3. Enter full path of the filename in both 'Input file' and 'Output file' entry. 4. Change the '>' at the left of the 'Output file' to '<< Split by paragraph' 5. Click 'Replace', files will be generated. |
| Download Script: scripts/149.rst.zip |
Screenshot 1: Replace_Settings_Window |
Similar Examples: |
| How to split a text file into multiple files and take the date as filename? (65%) How to split the dictionary file and use word as filename? (65%) How to replace file content in multiple files with corresponding filename? (54%) How to split a text file into multiple files evenly on size? (53%) How to sort a file list by the extension of the filename? (53%) How to split a large text file into small files with maximum 1000 lines? (53%) How to batch rename files to the first 8 characters of the second line of file content? (52%) How to copy one file for many times with pre-defined name in a list? (51%) |
Check Demo of Text file splitter |
| Keywords: |
| chapter plit a file into many files firstline paragraph delimiter split by paragraph file into many files filenames backup path splitter split file to many files in filenames split file by split files split the file split file in the end of end of file |