| User: editor -- 2008-06-13 << 187 189 >> |
| Hits: 3651 |
| Type: Text file splitter |
| Search all Text file splitter examples |
| Description: |
| How to split a file by specified number of lines like 10,20,30,20,30,20 ...? |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| 1. ctrl-o open source file 2. ctrl-h open 'Replace' dialog * Enter full path name for output file at "Output File" entry at right bottom. * Change ">" to "< split by line/bytes" at the left of output file. Click 'Settings' page: * Change 'Split file by' to: Lines * Change 'Split naming' rules as you like. 3. Click 'Replace', done! Note: if you want to skip some lines, you can use negative values. 10,20,-10,30,20 will skip 10 lines between file2 and file3. |
| Download Script: scripts/188.rst.zip |
Similar Examples: |
| How to split a large text file into specified various number of lines? (61%) How to replace word 'abc' to 'def' in specified lines like 1-10,18,20? (57%) How to merge all files, and split into specified number of files evenly? (53%) How to split text file by number of bytes? (53%) How to batch rename files by appending the number of lines at the end? (52%) How to shuffle specified lines in multiple text files? (51%) How to create some copies of 2 files with specified names? (50%) How to remove/delete specified lines such as 1,2,3 and 9,11,13,15,... in a text file? (49%) |
Check Demo of Text file splitter |
| Keywords: |
| skip split naming naming bottom path full bytes split by line splitter text file splitter negative number skip lines split file rules full file name between lines split by lines split file by lines file name splitter |