|
|
#1 |
|
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Sep 2007
Device: Android phone + PRS-505
|
command-line conversion tools in 0.6.0?
I noticed that the command-line conversion tools aren't around in the current bzr trunk. Is this something that is coming back? Or something that is being changed? I like the ability to run a command sequence of lit2oeb, edit, and oeb2lit to tweak a lit file that is already in the DB, so I'm hoping that this will still be supported.
If the command-line tools are going away, is there going to be an oeb.zip output choice? Then I assume that I could do the conversions from inside calibre (e.g. lit -> oeb.zip, unzip, edit, zip, oeb.zip -> lit). |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
All the command line functionality is in the ebook-convert tool. It converts from any of the supported input formats to any of the supported output formats. It even downloads news feeds
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Sep 2007
Device: Android phone + PRS-505
|
Thanks. I completely missed that. That's a great way to go.
FYI, I got this error when creating a lit file from an oeb *.opf file: Code:
Traceback (most recent call last):
File "/home/wayne/bin/ebook-convert", line 8, in <module>
load_entry_point('calibre==0.6.0b1', 'console_scripts', 'ebook-convert')()
File "/home/wayne/src/calibre/src/calibre/ebooks/conversion/cli.py", line 217, in main
plumber.run()
File "/home/wayne/src/calibre/src/calibre/ebooks/conversion/plumber.py", line 685, in run
self.opts, self.log)
File "/home/wayne/src/calibre/src/calibre/ebooks/lit/output.py", line 30, in convert
split = Split(not self.opts.dont_split_on_page_breaks,
AttributeError: 'OptionValues' object has no attribute 'dont_split_on_page_breaks'
Last edited by WayneD; 06-03-2009 at 02:19 PM. |
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Thanks, now fixed.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Command line conversion not working | rockeh | Calibre | 1 | 08-24-2010 07:23 PM |
| Where are the command line tools? | PaulChernoch | Calibre | 17 | 10-23-2009 01:08 PM |
| Why use the command line? | slantybard | Calibre | 6 | 07-22-2009 01:17 PM |
| Errors on Command Line | drnkusv | Calibre | 11 | 11-07-2008 03:59 PM |