| 
			
			 | 
		#1 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 119 
				Karma: 64428 
				Join Date: Aug 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Easiest way to generate a new cover using cli tools only?
			 
			
			
			I use the CLI tools to convert pdfs and edit epubs. It seems like every time I convert a pdf to epub, something gets messed up in the Title or Author fields and the generated front cover is wrong. The rest of the pdf junk I have no problem with. It's no biggie to go in and correct the name and author fields in thbe epub with the metadata editor, but regenerating a new front cover with the updated information is a hassle. What I've been doing is to remove the original generated cover and its associated jpeg, do an epub-to-epub conversion, delete the old version, then proceed to work on the version with the newly-created front cover. Is there an easier way? Suggestions using CLI only, please.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 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) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Well, just in the GUI, you can always create a new cover and do Embed Metadata.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	![]() I don't believe there is a CLI entry point for Generate Covers. You should be able to do it with a calibre-debug script though.  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Why dont you just specify a title and author in your conversion command line.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 119 
				Karma: 64428 
				Join Date: Aug 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Dur! Didn't even think of that.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 119 
				Karma: 64428 
				Join Date: Aug 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Works great - just as expected! Thanks, Kovid, for helping me clear the cobwebs from my mind.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Can't locate calibres cli-tools on OSX | elementz | Calibre | 3 | 06-13-2014 06:56 AM | 
| Can I use Calibre's CLI tools for an app? | markvb | Conversion | 5 | 04-15-2012 11:00 PM | 
| Issue with german translation of CLI tools | Manichean | Calibre | 4 | 10-24-2010 12:52 PM | 
| PRS-500 Perl tools to generate Reader content | TadW | Sony Reader Dev Corner | 0 | 01-08-2007 06:55 AM |