Convert book format via command line
Hi all,
I've been playing around with writing some utilities for a collection of ebooks, mostly just to get familiar with the various command line options for calibre. I can successfully add a .azw book with 'calibredb add', get the returned ID and update it's metadata with 'calibredb set_metadata'. What I'd like to do now is to convert the book to epub format so I have both formats within calibre. I looked at both the 'ebook-convert' and the 'calibredb add_format' options, and they both require that you specify an input file. Is there any way via the command line to have calibre convert an ebook already in its library to a different format? This would be the same as selecting a book via the GUI and clicking on 'Convert books'.
Thanks
John
|