Friday, August 11, 2017

Optional selection from 5 million+ lines in Notepad++

I have a 5 million plus line plain text file. Windows Notepad can't do anything and gets stuck when double clicking the file. Notepad++ is able to open the file though, even with 5M lines.
I want to split the file into 10 single text files - i.e. the first 50K lines would be in an individual file, and so the next and next.



The problem is that when I Ctrl+G and go to the 50kth line, I have to hold shift, pressing the up arrow until the first 50k lines are selected. It takes several minutes. Is there any easier way to split up the files?

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...