View Single Post
Old 06-09-2020, 01:37 AM   #37
kjdavies
Zealot
kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.
 
Posts: 112
Karma: 53342
Join Date: Jun 2013
Device: Sony PRS-600
Quote:
Originally Posted by kovidgoyal View Post
That's how quoting for all shells works, you surround the entire argument with quotes. And yes you can set all fields including builtin and custom ones in a single call.
For some strange reason I wasn't thinking shell quoting, so I was surrounding just the value I was trying to assign with quotes. That is, it accepted

-f publisher:'publisher with spaces'

when you're telling me the correct quoting is

-f 'publisher:some publisher with spaces'

And "calibredb add" will accept -f as well? Time to give that a try.

Last edited by kjdavies; 06-09-2020 at 01:47 AM. Reason: fixing (I hope) emoji
kjdavies is offline   Reply With Quote