Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-23-2021, 10:46 PM   #1
drawson1
Connoisseur
drawson1 began at the beginning.
 
Posts: 96
Karma: 10
Join Date: Mar 2014
Device: Libra H20, Clara 2E
Catalog command-line syntax for prefix-rules

I'm trying to generate an epub catalog from the command-line. I have a custom boolean field "Read"; if it's set to True, I'd like to mark the book. When I do this from the GUI, it works fine; the combo box in the GUI shows the available values as "True", "False", and "Undefined".

On the command line, there are two problems:
  1. --prefix-rules="('Read books','Read',True,'+')" fails with an error:
    Code:
    incorrect number of args for --prefix-rules: 'Read books'
  2. How do I specify a character like a checkmark as the marking character?

Thanks!

Dan
drawson1 is offline   Reply With Quote
Old 03-23-2021, 11:23 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibredb catalog --help

will answer both your questions.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre command line syntax RobertWHayes Calibre 9 03-21-2020 06:22 PM
Is there a way to execute a non-root command without access to command line Galunid Kindle Developer's Corner 4 05-15-2018 07:50 PM
error on line 12 at column 82: Namespace prefix 'o' not declared GentlemanGamer Sigil 6 08-30-2016 10:05 PM
command line "calibredb catalog" problems Divingduck Calibre 12 12-26-2014 05:01 PM
command line syntax for search filter cybmole Calibre 5 06-26-2013 07:55 AM


All times are GMT -4. The time now is 12:27 AM.


MobileRead.com is a privately owned, operated and funded community.