| 
			
			 | 
		#1 | 
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 58 
				Karma: 37 
				Join Date: Oct 2008 
				
				
				
				Device: PRS-600 
				
				
				 | 
	
	
	
		
		
			
			 
				
				PDFs, metadata and conversion on a Mac
			 
			
			
			I'm currently using Calibre on my Mac to manage my book library and transfer it to my PRS-505. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I've just recently got a selection of PDF files which I want to use on it, but they have pretty screwy metadata ... if I just import them directly into calibre some end up with author and title swapped and some have complete garbage in them. The files are all named as "<author> - <title>.pdf", so I am thinking the best solution would be to find a CLI PDF metadata editor so I can do do a batch re-tag on them, assuming there is any such thing on the Mac ... or can I force calibre to set metadata based on filename rather than content? Once I've got this sorted, is it best to leave them all as PDFs, or should I convert them all to LRF? Ta Iain  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | |
| 
			
			
			
			 The Grand Mouse 高貴的老鼠 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,447 
				Karma: 318076944 
				Join Date: Jul 2007 
				Location: Norfolk, England 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Just change the setting in the Advanced Configuration dialog*. By default it expects Title - Author, not Author - Title, which explains why they're getting swapped. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	(?P<author>.+) - (?P<title>[^_]+) should do the trick. *the Configuration dialog is accessed through the small hammer icon to the right of the search field Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 58 
				Karma: 37 
				Join Date: Oct 2008 
				
				
				
				Device: PRS-600 
				
				
				 | 
	
	
	
		
		
		
		
		  Oops, I usually go through all the settings on any software I use, just to see if there is anything useful. I didn't do that with calibre!
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Metadata and PDFs | mdroberts | Calibre | 0 | 12-27-2009 07:54 AM | 
| Searching for a way to batch-update PDFs metadata | Pulp | 2 | 01-13-2009 07:40 AM | |
| View PDFs with Metadata? | Sonist | iRex | 2 | 12-13-2008 06:02 PM | 
| lost metadata on pdfs | slushie | Calibre | 15 | 10-05-2008 01:11 AM | 
| Mac OS X and PPDs/PDFs | mrdini | Workshop | 2 | 03-27-2008 04:00 PM |