11-14-2019, 03:40 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Nov 2019
Device: sony reader/PC
|
calibre command line
my first post, so please be kind to me! The caliber manual give some command line information, good as far as it goes, but does not have examples. I have used command line to open books from entries in an MS Access database. Set it up a long time ago, remember lots of experimentation before I got the command line to work. Is there anywhere that shows the various command lines together with examples of their use? I am particularly interested in the viewer toc argument, but maybe a general supplement to what is in the manual would be of more general benefit.
|
11-14-2019, 04:36 AM | #2 |
Wizard
Posts: 1,264
Karma: 10203040
Join Date: Dec 2011
Device: a variety (mostly kindles and kobos)
|
The following both worked for me:
Code:
ebook-viewer.exe --open-at toc:"chapter 2" "The Chrysalids - John Wyndham.epub" Code:
ebook-viewer.exe --open-at epubcfi(/24/2/4[6LJU0^-ade3ad6bcd714056b39406a49aa9a0e0]/46[chr0000326]/1:360) "The Chrysalids - John Wyndham.epub" If I was going to use this for real I'd probably want to save that somewhere - or just create a bookmark. But I can see it might have its uses. Otherwise for me, the toc version is more useful. |
Advert | |
|
11-15-2019, 01:21 AM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Nov 2019
Device: sony reader/PC
|
I agree, tried the toc method and it works easily. Best avoid the position method, as not supported and can be inconsistent between Calibre versions (e.g. the new viewer is different from the old one).
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Get Calibre version from the command line | AndyBlack | Calibre | 11 | 11-14-2019 09:08 PM |
Calibre with command line ? | Laurent06 | Conversion | 2 | 11-09-2014 12:37 AM |
Calibre Command Line Conversion | bmwr1200c | Calibre | 1 | 08-10-2011 07:04 PM |
Autotagging with Calibre (command line) | erion | Calibre | 11 | 08-28-2010 01:33 PM |
Calibre Command Line Interface TOC | bcolflesh | Calibre | 3 | 02-04-2010 04:09 PM |