01-09-2012, 12:11 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2012
Device: server
|
CLI Convert EPUB -> Mobi
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! |
01-09-2012, 02:10 AM | #2 | |
Wizard
Posts: 1,090
Karma: 6058305
Join Date: Sep 2010
Location: UK
Device: Kindle Paperwhite
|
Quote:
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 |
|
Advert | |
|
01-09-2012, 03:26 AM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2012
Device: server
|
Man I even looked that up! I found all sorts of other CLI commands but not that one, I must be an idiot.
Thank you. |
01-09-2012, 04:00 AM | #4 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2012
Device: server
|
is it possible to only have the CLI backend though, since this is installed on a server, it wants to add xorg and stuff and that's all pointless to me
|
01-09-2012, 04:59 AM | #5 |
Wizard
Posts: 1,090
Karma: 6058305
Join Date: Sep 2010
Location: UK
Device: Kindle Paperwhite
|
|
Advert | |
|
01-09-2012, 10:00 AM | #6 |
Well trained by Cats
Posts: 29,754
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
01-09-2012, 03:14 PM | #7 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2012
Device: server
|
Well after searching even after reading your advice it took me a while trying to find what you were talking about. To anyone who gets here through Google or whatever, it's at the very bottom of the FAQ on the manual.
THanks guys |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What to use to convert Epub or HTML to Mobi? | Artha | Kindle Formats | 2 | 08-24-2011 07:47 AM |
Unable to convert MOBI to EPUB | bb46970 | Conversion | 6 | 08-21-2011 04:45 PM |
Failure to convert from mobi to epub | jlmwrite | Calibre | 9 | 01-06-2011 11:12 PM |
Convert .prc / .mobi to epub | goldberry | Calibre | 3 | 09-12-2010 03:56 PM |
Mobi book won't convert to ePub | HarryT | Calibre | 4 | 08-09-2009 11:20 AM |