| 
			
			 | 
		#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]  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				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?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				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.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 90 
				Karma: 203522 
				Join Date: Oct 2009 
				
				
				
				Device: Kindle 2 US, iPad, Samsung Win 8 Tablet 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thank you, Kovid!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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?
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Only for EPUB and AZW3.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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").
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Insert downloaded metadata from Calibre into PDF files? | jarobi | Calibre | 5 | 06-20-2014 04:44 AM | 
| Metadata insert | Bluebaize | Calibre | 4 | 06-22-2011 07:51 PM | 
| Insert metadata as page... | paulfiera | Calibre | 7 | 12-28-2010 05:59 PM | 
| Writing metadata to PDF files in Calibre | asts18 | Calibre | 3 | 03-23-2010 02:07 PM | 
| Insert metadata | Landrovan | Calibre | 1 | 10-05-2009 02:36 PM |