View Single Post
Old 07-16-2015, 04:58 PM   #1
wladdy
Enthusiast
wladdy began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Oct 2010
Device: iPad / Kindle DX
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.
wladdy is offline   Reply With Quote