Breaking one text file to multiple files.
-
I have text file with direct image links (25,000 lines on links) seperated with (1)
Here Example: first 40 links
https://d1a0n9gptf7ayu.cloudfront.net/photos/7399d8f60bf.jpg
https://d1a0n9gptf7ayu.cloudfront.net/photos/037af7f389b.jpg
https://d1a0n9gptf7ayu.cloudfront.net/photos/d5a4cd86755.jpg
https://d1a0n9gptf7ayu.cloudfront.net/photos/4d49e3b2b10.jpg
https://d1a0n9gptf7ayu.cloudfront.net/photos/7c39210cc7c.jpg
https://d1a0n9gptf7ayu.cloudfront.net/photos/73cf22940a0.jpg
https://d1a0n9gptf7ayu.cloudfront.net/photos/35cf192d74d.jpg
.
.
.
.
(40 Hits)
https://d1a0n9gptf7ayu.cloudfront.net/photos/7399d8f60bf.jpg
https://d1a0n9gptf7ayu.cloudfront.net/photos/037af7f389b.jpg
https://d1a0n9gptf7ayu.cloudfront.net/photos/d5a4cd86755.jpg
https://d1a0n9gptf7ayu.cloudfront.net/photos/4d49e3b2b10.jpg
https://d1a0n9gptf7ayu.cloudfront.net/photos/7c39210cc7c.jpg
https://d1a0n9gptf7ayu.cloudfront.net/photos/73cf22940a0.jpg
https://d1a0n9gptf7ayu.cloudfront.net/photos/35cf192d74d.jpg
.
.
.
.
.
(58 Hits)
and goes on upto 25000 lines. 40 to 60 links separated with (x Hits) text.
First 40 links from one gallery
another 58 links from another gallery.I want to save those cluster of lines seperated with ( X Hits) in different text files.
that would be around 500 files. there are 500 galleries in file. with average 50 files. -
What have you tried so far?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login