How to convert an epub file to pdf from the command line?
Solution 1:
Calibre has a command line interface, see this part of the manual. Basically you should be able to add /Applications/calibre.app/Contents/MacOS
to your PATH
(or symlink the binaries there into /usr/local/bin
) and then run
ebook-convert input_file output_file