![]() |
#1 |
Connoisseur
![]() Posts: 96
Karma: 10
Join Date: Mar 2014
Device: Libra H20, Clara 2E
|
Logical and/or witth "calibredb list -s ..."
I'd like to build a logical search with list -s like this example:
calibredb list -s \( author:Asimov or author:Heinlein \) and rating:False Note that I'm doing this in a bash shell script. FYI, the same syntax works for "calibredb search ...", but fails with syntax errors for list -s. Is this possible? Alternatively, if there's a way to pass a list of ID's to the list command, I can do this with search and save the resulting ID list, then make a single call to 'calibredb list ...' |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,339
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibredb list -s '( author:Asimov or author:Heinlein ) and rating:False'
-s is an opton it can take only a single argument. calibredb search can take multiple arguments, so you need to quote for -s |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"calibredb list" throws error | bob.f | Library Management | 5 | 12-30-2017 08:04 AM |
command line "calibredb catalog" problems | Divingduck | Calibre | 12 | 12-26-2014 05:01 PM |
Error: "can only concatenate list (not "unicode") to list" | bmuesse | Library Management | 2 | 01-11-2013 03:50 PM |
Defining Metadata with "calibredb add" command line function. | macr0t0r | Calibre | 3 | 03-01-2012 07:36 PM |
How to remove "Fully read" books from "Last Open" list? | pjeanetta | PocketBook | 4 | 12-08-2010 10:30 AM |