View Single Post
Old 08-20-2022, 06:59 PM   #1
drawson1
Connoisseur
drawson1 began at the beginning.
 
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 ...'
drawson1 is offline   Reply With Quote