05-24-2011, 03:34 AM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: May 2011
Device: Kindle
|
Bulk Command Line Conversion?
(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. |
05-24-2011, 05:32 AM | #2 | |
Wizard
Posts: 2,018
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
Quote:
http://calibre-ebook.com/user_manual...k-convert.html |
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Command line - HOW? | bookfanmd | Calibre | 19 | 01-12-2013 09:17 AM |
command-line only e-book conversion | running | Conversion | 1 | 01-30-2011 08:09 AM |
--language variable in command line conversion | marekl | Calibre | 1 | 01-21-2011 08:11 AM |
Command line conversion not working | rockeh | Calibre | 1 | 08-24-2010 06:23 PM |
command-line conversion tools in 0.6.0? | WayneD | Calibre | 3 | 06-03-2009 01:30 PM |