Save each Line of a Text File as an own File
Question by Guest | 2022-10-27 at 17:04
I have several long text files, whose lines I would like to save individually as new files. Accordingly, the text of each individual line of each original file should become the content of a new file. Afterwards there should be as many new files as the number of lines before.
Of course, I could theoretically also perform this task manually, but that would be a lot of work with my amount of files and my amount of lines so that I would like to automate this process.
Related Topics
How to Replace multiple Texts at the same Time
Tutorial | 0 Comments
Rewrite Text Files with a fixed Line Length
Tutorial | 0 Comments
Repair Text Files with mixed Line Breaks
Tutorial | 0 Comments
Lord's Prayer in 20 other Languages
Info | 0 Comments
HTML: Preassign HTML Form with Data
Tutorial | 0 Comments
Rename File to its Folder Name
Tutorial | 0 Comments
How to resize Image before Upload in Browser
Tutorial | 13 Comments
Important Note
Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.
Participate
Ask your own question or write your own article on askingbox.com. That’s how it’s done.
With the TextConverter, this task can be done easily and quickly.
After you have opened one or more files, whose lines you want to save as independent files, in the program (for example, by dragging the files from a folder onto the program), you can proceed as follows:
If you do not want that empty lines from the original file lead to the storage of empty files, make sure that in the options of the action under "Minimal Length of a new File (in characters)" at least "1" is specified. With this, empty lines (with 0 characters) will be ignored.
A detailed explanation of this functionality as well as of the other settings and criteria on which files can otherwise be separated with this function can be found in the tutorial about the splitting of text files into multiple new files.
2022-10-27 at 23:48