Can Notepad++ automatically split a text file into multiple files?

1

I have a text file that contains a massive amount of words that I would like to make into a number of different text files. Specifically I need to take every 100 words in this file and make a separate text file. So, for example, my existing file has 5000 words. This would create 50 files with 100 words each in them. Is this possible with notepad++?

BiscuitDash

Posted 2019-01-29T17:16:40.257

Reputation: 11

@QuickishFM Thanks for the reply. I didnt realize this was such a common question. I am using windows 10 but I have ubuntu 18.04 loaded on another HDD that I can boot to with a computer reset. Thanks for the link. I have been researching. – BiscuitDash – 2019-01-29T17:45:14.030

“I have ubuntu 18.04 loaded on another HDD that I can boot to with a computer reset.” -- Do not forget that you can also run Ubuntu under WSL in Windows 10. Windows drives are mounted under /mnt by default, C: as /mnt/c and so on.

– kkm – 2019-10-25T10:10:25.117

Answers

1

This can easily be done in Linux with a variety of tools, split being one. I'm assuming you are using Windows however, as you mentioned Notepad++. I don't think theres native Windows tools for it, but you can simply google the problem and find many solutions for it online. This is a common problem and there exist a variety of ways to solve it. Here is an example of one that may work, though not fully automated: https://notepad-plus-plus.org/community/topic/12370/splitting-or-breaking-one-file-into-multiple-smaller-ones. I suggest you research this further and then come back with a specific question on a method, due to how common this question is.

QuickishFM

Posted 2019-01-29T17:16:40.257

Reputation: 626

0

you can use Gsplit, as alternative

Just Me

Posted 2019-01-29T17:16:40.257

Reputation: 252