usernames

mohmed3000

Junior Member
Joined
Dec 22, 2016
Messages
173
Reaction score
20
HI GUYS i have 2000 usernames and i want to split them into 50 names in each text can i do that with notepad ++?
 
Tough to do that with notepad++ if you want to save them to different files.
Should be pretty easy with python/php though.
For example, try this:
Code:
https://stackoverflow.com/questions/12406300/split-a-big-txt-file-with-php
 
In case you are using Linux you can do this with split command. Let's say your usernames are stored in usernames.txt file.

Code:
split --lines=50 --numeric-suffixes=1 --additional-suffix=.txt usernames.txt usernames_

This command will put each batch into separate file named usernames_01.txt, usernames_02.txt and so on.
 
Back
Top