View Single Post
Old 02-15-2014, 07:01 PM   #18
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,825
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by NillaGoon View Post
I'd love to be able to invoke it explicitly since it's potentially less disruptive than Convert and it apparently works for PDF files as well.
I use the catalog feature to create a csv for the pdfs whose metadata I want to update. I munge the csv via a text editor to create exiftool commands to update the pdf metadata - as I want it updated. The pdf files I update are the ones in the calibre library folders.

The only PDF metadata fields that calibre has ever updated for me when I did a save to disk was Author and Title. But it only did it on some books. As far as I can tell, whether it did or not, had nothing to do with the pdf being secured or protected. I didn't delve too deep because I wanted more than Author and Title.

I'm familiar with exiftool for manipulating embedded image metadata so using it to do the same for PDF's was a no-brainer for me.

There is also the ebook-meta cli program that can inject and extract metadata into and from ebooks. I haven't used it but I would assume its the same code as the GUI uses when it does a save to disk.

BR

Last edited by BetterRed; 02-15-2014 at 07:25 PM. Reason: last para
BetterRed is offline   Reply With Quote