View Single Post
Old 08-12-2018, 07:23 AM   #1
wladdy
Enthusiast
wladdy began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Oct 2010
Device: iPad / Kindle DX
Deducing "Author sort" and "Title sort" through CLI

Hello,

I add books to Calibre through a shell script that properly sets "Author" and "Title".
I am aware that I could also include "Author sort" and "Title sort", but that would make me write into the script rules to generate the latter from the former. I would rather avoid that. For consistency, I prefer to use always Calibre's rules.
Therefore, after the script finishes running, I bulk edit the metadata of the books I've added. No bid deal, but I would rather this step be done automatically through the command line interface.

My question is:

Is there a way to use a CLI command such as calibredb to deduce "Author sort" and "Title sort" from "Author" and "Title"?

Many thanks in advance! W.
wladdy is offline   Reply With Quote