04-08-2017, 02:38 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2017
Device: Kindle for iOS
|
Multiple input files for ebook-convert or other Calibre CLI tools?
Goal is to convert set of well-structured input files into an ePub file. In pandoc, the command line for it can be as easy as this:
Code:
# pandoc accepts wildcard designations or list of filenames # Convert all .md files into a single ebook file called foo.epub: $ pandoc -o foo.epub *.md Code:
# Convert all .md files in current directory to HTML $ markdown-calibre -v *.md # Convert all .html files in directory to a single book file called foo.epub $ ebook-convert *.html foo.epub Last edited by tomcam; 04-08-2017 at 02:40 PM. Reason: Improved code comment |
04-08-2017, 04:49 PM | #2 | |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Pass the Index.html file instead, calibre will pick up those listed (in order) It is in the Online Help FAQ |
|
Advert | |
|
Tags |
calibre, cli, ebook-convert, markdown-calibre, pandoc |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How does ebook-convert react to plain text input | porphyry5 | Conversion | 7 | 11-06-2015 07:27 PM |
Can I use Calibre's CLI tools for an app? | markvb | Conversion | 5 | 04-15-2012 10:00 PM |
epub to epub conversion problem with regex spanning multiple input files | ctop | Conversion | 2 | 02-12-2012 01:56 AM |
Txt files - Convert to Epub - Multiple files into one book - noob help | Cernan | Calibre | 6 | 05-18-2010 10:12 AM |