Quote:
Originally Posted by tuebl
I noticed that zamzar (.com) uses calibre to convert epub into mobi so I am figuring that they are using some sort of CLI function to do it. I was wondering if there was some pre-existing code or better yet does Calibre already have the function to convert epubs to mobi from the command line?
I want to do it automatically from my website, so the GUI wont help me at all. Thanks!
|
The functionality is included in a standard Calibre install. The command is ebook-convert
The relevant page of the manual is:
http://manual.calibre-ebook.com/cli/ebook-convert.html
You can simply call it with the file to be converted, and the file name of the converted file, but there are lots of options documented in the manual.
eg:
Code:
ebook-convert epub-book.epub converted-book.mobi
Russ