06-02-2018, 12:33 PM | #1 |
Guru
Posts: 924
Karma: 53902736
Join Date: Jun 2015
Device: multiple
|
Several Txts to One Epub?
I know Calibre can convert 1 text file to 1 epub. But sometimes I've got several dozen txt files. Is there any practical way to convert all these txt files to 1 epub file?
I tried converting the index, and importing the others, but I can't see any way to import them into xhtml. Thanks. |
06-02-2018, 08:58 PM | #2 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
One way is to convert the individual files and then use the Epub Merge plugin to merge them all into one.
|
06-02-2018, 09:52 PM | #3 |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
06-02-2018, 11:04 PM | #4 |
null operator (he/him)
Posts: 20,570
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
How about "copy file1.txt+file2.txt+file3.txt joined.txt", then convert joined.txt to epub. If you have a lot of files, put them into a directory by themselves and use "copy *.txt joined.txt"
BR |
06-03-2018, 04:23 AM | #5 |
Wizard
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
+1 @BR
|
06-03-2018, 05:15 AM | #6 |
null operator (he/him)
Posts: 20,570
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
06-03-2018, 05:25 AM | #7 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Code:
cat *.txt > combined.txt |
06-03-2018, 11:06 AM | #8 |
Addict
Posts: 387
Karma: 1638210
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
|
On joining the files into one file, good way to go; even better if you have some consistent heading text at the top of each file (e.g. Chapter #, if that is appropriate). That will make it easier to do a TOC in the ebook.
|
06-03-2018, 03:05 PM | #9 |
Guru
Posts: 924
Karma: 53902736
Join Date: Jun 2015
Device: multiple
|
|
06-03-2018, 05:48 PM | #10 |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
redo epub to epub - don't use original-epub | cybmole | Conversion | 8 | 02-20-2014 05:21 AM |
Greek txts on DK lite show as chinese.. | Iznogold | Kindle Developer's Corner | 1 | 10-10-2011 11:28 AM |
calibre and transfer of chinese txts | tofubean | Calibre | 2 | 09-23-2011 03:25 AM |
epub, ePub, EPUB, warum blos ePub? | flowoeB | Lounge | 5 | 11-27-2009 09:37 AM |
Kindle, your own pdfs or txts | betovarg | Amazon Kindle | 9 | 05-11-2009 08:53 PM |