|
|
#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 03:40 PM. Reason: Improved code comment |
|
|
|
|
|
#2 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,264
Karma: 61916422
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 |
|
|
|
|
![]() |
| Tags |
| calibre, cli, ebook-convert, markdown-calibre, pandoc |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How does ebook-convert react to plain text input | porphyry5 | Conversion | 7 | 11-06-2015 08:27 PM |
| Can I use Calibre's CLI tools for an app? | markvb | Conversion | 5 | 04-15-2012 11:00 PM |
| epub to epub conversion problem with regex spanning multiple input files | ctop | Conversion | 2 | 02-12-2012 02:56 AM |
| Txt files - Convert to Epub - Multiple files into one book - noob help | Cernan | Calibre | 6 | 05-18-2010 11:12 AM |