|  12-08-2023, 03:50 PM | #1 | 
| Guru            Posts: 983 Karma: 2209358 Join Date: Nov 2011 Location: London, UK Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3 | 
				
				Importing PDFs with metadata
			 
			
			I am wondering about importing a set of PDF magazine issues into my Calibre library. If I import tham via "Add Books" I get poor results because currently the only metadata in the PDFs is the magazine name, and I get a bunch of hard to distinguish magazines with identical names. I need the year and issue number to be imported as well, which matches how the magazines are published. I can script exiftool (not the first tool I'd have thought of) to write metadata into each PDF. But what does Calibre read from a PDF and put into things like dates and number-in-series? | 
|   |   | 
|  12-08-2023, 09:44 PM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			You dont need to use exiftool, use the ebook-meta tool from calibre that will allow you to set all metadata in PDF including series. And that metadata will be read when adding the pdfs to calibre
		 | 
|   |   | 
|  12-09-2023, 02:23 AM | #3 | 
| Leftutti            Posts: 550 Karma: 1717097 Join Date: Feb 2019 Location: Bavaria Device: iPad Pro, Kobo Libra 2 | 
			
			If the file names are meaningful and follow a pattern, Calibre can also read the data using these.
		 | 
|   |   | 
|  12-09-2023, 03:52 AM | #4 | 
| Guru            Posts: 983 Karma: 2209358 Join Date: Nov 2011 Location: London, UK Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3 | |
|   |   | 
|  12-09-2023, 03:56 AM | #5 | |
| Guru            Posts: 983 Karma: 2209358 Join Date: Nov 2011 Location: London, UK Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3 | Quote: 
 But the ebook-meta tool is exactly what I needed, especially because I want the metadata to live inside the original file whenever possible. | |
|   |   | 
|  12-09-2023, 04:45 AM | #6 | ||
| Leftutti            Posts: 550 Karma: 1717097 Join Date: Feb 2019 Location: Bavaria Device: iPad Pro, Kobo Libra 2 | Quote: 
 If there are too many changes, the tool makes more sense Quote: 
 | ||
|   |   | 
|  | 
| Tags | 
| metadata, pdf | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Importing PDFs, using filename and using PDF cover | Alex_Sanders | Calibre | 1 | 10-28-2023 10:38 PM | 
| Open pdfs in Moon+ Reader without importing/copying | memokun | Android Devices | 5 | 09-15-2020 04:59 AM | 
| Importing metadata in 0.9.4 | arthurattwell | Sigil | 4 | 03-15-2016 02:20 PM | 
| Random Metadata when Importing???? | Woodssi | Library Management | 4 | 12-22-2014 10:54 AM | 
| howto: importing PDFs to a word processor | Antartica | iRex | 10 | 11-06-2006 11:03 AM |