| 
			
			 | 
		#1 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 2 
				Karma: 10 
				Join Date: Nov 2015 
				
				
				
				Device: Kindle Paperwhite 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Changing "Personal Doc tag" with ebook-convert CLI tool
			 
			
			
			When I use the Calibre GUI interface, I can change the "Personal Doc tag" from "[PDOC]" to "[EBOK]" so that ebooks show up as "Books" instead of "Documents" on my Kindle: 
		
	
		
		
		
		
		
		
		
		
		
		
		
			http://support.oreilly.com/oreilly/t...kindle_devices However, I'm having a hard time doing this using the "ebook-convert" command line tool. I've tried all of the following: Code: 
	ebook-convert input.epub output.epub --personal-doc=EBOK ebook-convert input.epub output.epub --personal-doc=EBOK --tags=EBOK ebook-convert input.epub output.epub --personal-doc='[EBOK]' ebook-convert input.epub output.epub --personal-doc='[EBOK]' --tags='[EBOK]' ebook-convert input.epub output.epub --personal-doc='' ebook-convert input.epub output.epub --personal-doc='' --tags='' Last edited by choogi; 11-05-2015 at 05:09 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I don't believe calibre supports mangling the PDOC tag via the command line. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Reason being, because it is applied during send-to-device, not conversion.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			ebook-convert produces MOBI files with EBOK set by default. You can check that by using 
		
	
		
		
		
		
		
		
		
		
		
		
	
	calibre-debug file.mobi and looking for the 501 record in header.txt for the dumped MOBI file.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 2 
				Karma: 10 
				Join Date: Nov 2015 
				
				
				
				Device: Kindle Paperwhite 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Got it, makes sense. Thanks for the quick responses!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Tags | 
| calibre, cli, command line, ebook-convert | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Troubleshooting Books marked "Personal" and the [PDOC] tag | Jalathas | Amazon Kindle | 5 | 10-07-2015 05:01 AM | 
| Remove "Personal Document" tag WITHOUT losing annotations? | koudis226 | Amazon Kindle | 9 | 05-14-2014 06:38 PM | 
| Set "Personal Doc Tag" to blank; MOBIs still show up in Docs on Kindle | oceanclub | Library Management | 2 | 04-16-2013 03:52 PM | 
| Covers & "Personal" tag - Kindle PW | vermontcathy | Calibre | 2 | 10-05-2012 02:16 PM | 
| personal doc tag | alansplace | Calibre | 3 | 12-27-2011 12:37 PM |