|  06-20-2014, 03:43 AM | #1 | 
| Junior Member  Posts: 8 Karma: 12 Join Date: Jun 2011 Device: Kindle 3 | 
				
				Insert metadata from Calibre into PDF files
			 
			
			I have written a small shell script which can copy the metadata from Calibre to PDF files: https://github.com/aboettger/ShellSc...ata_by_calibre You can call it directly from a terminal. As a parameter a path is expected. This path and all subdirectories are searched.: Code: update_pdf_metadata_by_calibre [path_to_calibre_library] | 
|   |   | 
|  06-20-2014, 03:52 AM | #2 | 
| creator of calibre            Posts: 45,600 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			You know that calibre updates metadata in pdf files on export, right? And that you can use the ebook-meta command to write metadata to PDF files?
		 | 
|   |   | 
|  06-20-2014, 07:33 AM | #3 | 
| Member  Posts: 19 Karma: 10 Join Date: Jul 2010 Device: Calibre | 
			
			Not really. What do you mean by the "ebook-meta command"? I've been waiting since 2009 (beginning of this thread) to get this to work in a simple way, like Polish Books does for epubs. Thanks.
		 | 
|   |   | 
|  06-20-2014, 07:57 AM | #4 | 
| creator of calibre            Posts: 45,600 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			ebook-meta is a commandline tool (part of calibre) to display and change metadata in all the ebook formats calibre supports.
		 | 
|   |   | 
|  06-20-2014, 12:33 PM | #5 | 
| creator of calibre            Posts: 45,600 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | |
|   |   | 
|  06-21-2014, 03:08 AM | #6 | 
| Connoisseur            Posts: 90 Karma: 203522 Join Date: Oct 2009 Device: Kindle 2 US, iPad, Samsung Win 8 Tablet | 
			
			Thank you, Kovid!
		 | 
|   |   | 
|  06-22-2014, 05:05 AM | #7 | 
| Ex-Helpdesk Junkie            Posts: 19,421 Karma: 85400180 Join Date: Nov 2012 Location: The Beaten Path, USA, Roundworld, This Side of Infinity Device: Kindle Touch fw5.3.7 (Wifi only) |  Couldn't you already do this with Polish books? | 
|   |   | 
|  06-22-2014, 05:41 AM | #8 | 
| creator of calibre            Posts: 45,600 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Only for EPUB and AZW3.
		 | 
|   |   | 
|  06-22-2014, 03:24 PM | #9 | 
| Ex-Helpdesk Junkie            Posts: 19,421 Karma: 85400180 Join Date: Nov 2012 Location: The Beaten Path, USA, Roundworld, This Side of Infinity Device: Kindle Touch fw5.3.7 (Wifi only) |    Ah, excellent point. Should've expected it to be something obvious like that.  So we don't need this option in Polish book anymore, do we? Also, can it have a plugboard option? Could be useful when running say calibre2opds. If someone wants plugboards to ensure the ebook internal metadata is tweaked from the sorting the library UI provides (since book metadata is not as good as calibre's) then I can see the calibre copies being a valid target for the same kind of processing. | 
|   |   | 
|  06-22-2014, 07:54 PM | #10 | 
| null operator (he/him)            Posts: 22,007 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | |
|   |   | 
|  06-22-2014, 10:14 PM | #11 | 
| Connoisseur            Posts: 90 Karma: 203522 Join Date: Oct 2009 Device: Kindle 2 US, iPad, Samsung Win 8 Tablet | 
			
			My suggestion would be to add it to polish books (but then the other options would need to have a note saying "Epub/AZW3 only").
		 | 
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Insert downloaded metadata from Calibre into PDF files? | jarobi | Calibre | 5 | 06-20-2014 03:44 AM | 
| Metadata insert | Bluebaize | Calibre | 4 | 06-22-2011 06:51 PM | 
| Insert metadata as page... | paulfiera | Calibre | 7 | 12-28-2010 04:59 PM | 
| Writing metadata to PDF files in Calibre | asts18 | Calibre | 3 | 03-23-2010 01:07 PM | 
| Insert metadata | Landrovan | Calibre | 1 | 10-05-2009 01:36 PM |