10-04-2010, 01:41 PM | #1 |
Happy Wife & Momma
Posts: 532
Karma: 1634
Join Date: Jan 2010
Location: USA
Device: Purple Astak Pocket Pro! :)
|
question regarding converting txt files
Hello,
I'm wondering if there is a way to convert a batch of txt documents into one long document? I decided I'd like to read all the Star Trek TNG transcripts (yes, I'm a geek ), and I found a place I can download an entire season in a zip file. When I open the zip, all 26 episodes are unzipped into 26 txt files. Is there a way to put all of those into one big file, having each txt file as a separate chapter? Or it wouldn't really even need to be chapters, but that would be nice. If they were all in one document that would make it more like reading a book, and easier to read. I don't care what format the end result is in, as I could then change the final format to epub, or maybe rtf. Although I think the Pocket Pro reads txt, I just haven't tried it yet. I've got calibre and sigil both on my computer, so would I be able to use either of those? If this isn't possible I guess I can just open each document individually, copy and paste into one large file in MS Word, and be on my way. But I'd like it if there was an easier solution. Thanks! |
10-04-2010, 01:50 PM | #2 |
Treasure Seeker
Posts: 18,708
Karma: 26026435
Join Date: Mar 2010
Device: Kobo HD Glo, Kindles, Kindle Fires, Andriod Devices
|
Book Designer 5 will do this.
It has a Join books option that will merge any txt or html files into one and what's so wonderful about this program is it's a snap to mark chapter headings, fix broken sentences and make a good html copy you can then read or import into Calibre to make a really nice epub file that looks great in Cool Reader 3. |
10-04-2010, 01:55 PM | #3 |
Grand Sorcerer
Posts: 5,185
Karma: 25133758
Join Date: Nov 2008
Location: SF Bay Area, California, USA
Device: Pocketbook Touch HD3 (Past: Kobo Mini, PEZ, PRS-505, Clié)
|
Command line text combining: http://www.thetechhub.com/2010/04/co...th-single.html
A GUI program: Join (Merge, Combine) Multiple Text Files Into One Software There are others; Googling for /combine text files into one/ gets lots of hits. |
10-04-2010, 03:41 PM | #4 |
Guru
Posts: 815
Karma: 1029784
Join Date: May 2008
Location: Nebraska, USA
Device: PEZ, Color Libre, 2@Sony T1, Onyx i62HD
|
|
10-04-2010, 04:01 PM | #5 |
Happy Wife & Momma
Posts: 532
Karma: 1634
Join Date: Jan 2010
Location: USA
Device: Purple Astak Pocket Pro! :)
|
Blossom and Elfwreck, thank you for the links! I'll check those out.
AJ, here's the link where I got ST:TNG. http://www.twiztv.com/scripts/nextgeneration/ They have a slew of other scripts there, too. You can download each show individually, or download the entire season in a zip. |
10-04-2010, 06:38 PM | #6 | |
Guru
Posts: 815
Karma: 1029784
Join Date: May 2008
Location: Nebraska, USA
Device: PEZ, Color Libre, 2@Sony T1, Onyx i62HD
|
Quote:
AJ |
|
10-05-2010, 05:16 AM | #7 |
Evangelist
Posts: 466
Karma: 878943
Join Date: Jan 2009
Location: Cornwall UK
Device: BeBook 1. BeBook Mini. BeBook Neo and Club. BeBook Live. BeeBook Pure.
|
A super little program that I found http://bluefive.pair.com/txtcollector.htm.
Then drop the final file into your favourite conversion program. |
10-05-2010, 04:15 PM | #8 |
Happy Wife & Momma
Posts: 532
Karma: 1634
Join Date: Jan 2010
Location: USA
Device: Purple Astak Pocket Pro! :)
|
Thanks, Stormchild. I looked at that program, and it looks like that will also work for what I am wanting.
I ended up going with BookDesigner. It took me a bit of time to figure out what I was doing, but I ended up making the transcripts into an FB2 file. I've never used that format before, so I figured I'd give it a try, since I've heard such good reports about it. I loaded it up on my Pocket Pro, and I really like it! I think I'll go that route the next time I download transcripts. Thanks everyone for your input! |
10-08-2010, 11:12 AM | #9 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
You don't need a program for this - you can do it with the command prompt:
copy a.txt+b.txt+c.txt+d.txt joined.txt |
10-08-2010, 11:31 AM | #10 |
Evangelist
Posts: 466
Karma: 878943
Join Date: Jan 2009
Location: Cornwall UK
Device: BeBook 1. BeBook Mini. BeBook Neo and Club. BeBook Live. BeeBook Pure.
|
Yes Harry, but that is easy for you to say and do. Most people have no idea what the command prompt is let alone what to do with it.
|
10-08-2010, 11:38 AM | #11 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
The fact that some people may not know how to use a computer does not alter the fact that this is, and always has been, a built-in capability of MS-DOS and subsequently Windows, not to mention every other operating system that I know of.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting to TXT | rxmom03 | Calibre | 5 | 09-14-2010 08:43 PM |
Problem converting txt to mobi | toby39 | Calibre | 10 | 09-05-2010 02:16 PM |
Converting txt | mo72 | Calibre | 5 | 06-18-2010 04:20 PM |
Txt files - Convert to Epub - Multiple files into one book - noob help | Cernan | Calibre | 6 | 05-18-2010 10:12 AM |
Converting from txt to epub using defaults | p3aul | Calibre | 7 | 10-09-2009 07:23 PM |