Update 'title sort' and 'author sort' through CLI
I wrote a script in Unix to add empty books to Calibre and then populate their metadata based on what's listed in a separate text file. Now, while the books that I create using 'calibredb set_metadata' have proper 'title' and the 'authors' fields, their 'title sort' and 'author sort' are set to 'Unknown'.
My question:
is there a CLI way to automatically update 'title sort' and 'author sort' based on the existing 'title' and 'authors'?
Thanks in advance! W.
|