Quote:
Originally Posted by blobbo
(This is not a question about PDF.)
I used to use this Bash script / command line to use Calibre command line tools to convert in bulk a bunch of files to mobi format.
for f in *.epub
do
any2mobi --dest-profile=Kindle "$files"
done
But this does not work when I substitute the old calibre command (any2mobi) for the new command ebook-convert.
I get a bunch of python errors -
Python function terminated unexpectedly: Input file must have an extension
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/ebooks/conversion/cli.py", line 271, in main
File "site-packages/calibre/ebooks/conversion/cli.py", line 258, in create_option_parser
File "site-packages/calibre/ebooks/conversion/plumber.py", line 594, in __init__
ValueError: Input file must have an extension
I'd be very grateful if someone could help me fix my problem, thank you.
|
You're aware that the command line syntax of any2mobi and ebook-convert is different, are you?
http://calibre-ebook.com/user_manual...k-convert.html