Quantcast
Channel: MobileRead Forums - Reading and Management
Viewing all articles
Browse latest Browse all 24022

Get Calibre version from the command line

$
0
0
Hi. We have a need to know which version of Calibre is installed without actually running it. (We're using calibredb to create a new ebook from another application.) Apparently, there is a difference between versions 1, 2 and version 3 in what

calibredb add -d filename
calibredb list -f size


produces. In versions 1 and 2, the just added ID was in the next to last line. In version 3 it is the last line. We'd like to be able to know the version of Calibre being used so we can know which line to use with the calibredb list command.

Thanks.

Viewing all articles
Browse latest Browse all 24022

Trending Articles