View Single Post
Old 01-05-2022, 04:34 PM   #1
Rand Brittain
Bookmaker
Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.
 
Posts: 427
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
Transforming Filenames With Special Characters

Is there a way to use templates or plugboards to set Calibre up so that when I send a file to a device that has an illegal character in the metadata (specifically, a colon), it transforms that character into something other than _?

I'm trying to use Calibre to manage my collection of RPG PDFs, and RPGs love having titles with colons in them, like Vampire: the Masquerade and its ilk. I'd like to be able to set things up so that the transfer sends these files to device with the filename of, more or less "Vampire — the Masquerade" instead of "Vampire_ the Masquerade". That is, it turns a colon into space-emdash-space.

Can Calibre do this automatically? I've looked at the documents but I'm not too great at regular expressions.
Rand Brittain is offline   Reply With Quote