Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 11-05-2015, 04:02 PM   #1
choogi
Junior Member
choogi began at the beginning.
 
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=''
Unfortunately none of those seem to work. Has anyone else been able to figure this out?

Last edited by choogi; 11-05-2015 at 04:09 PM.
choogi is offline   Reply With Quote
Old 11-05-2015, 04:35 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
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.
eschwartz is offline   Reply With Quote
Old 11-05-2015, 10:32 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,778
Karma: 22666666
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.
kovidgoyal is offline   Reply With Quote
Old 11-06-2015, 02:38 PM   #4
choogi
Junior Member
choogi began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2015
Device: Kindle Paperwhite
Got it, makes sense. Thanks for the quick responses!
choogi is offline   Reply With Quote
Reply

Tags
calibre, cli, command line, ebook-convert

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting Books marked "Personal" and the [PDOC] tag Jalathas Amazon Kindle 5 10-07-2015 04:01 AM
Remove "Personal Document" tag WITHOUT losing annotations? koudis226 Amazon Kindle 9 05-14-2014 05:38 PM
Set "Personal Doc Tag" to blank; MOBIs still show up in Docs on Kindle oceanclub Library Management 2 04-16-2013 02:52 PM
Covers & "Personal" tag - Kindle PW vermontcathy Calibre 2 10-05-2012 01:16 PM
personal doc tag alansplace Calibre 3 12-27-2011 11:37 AM


All times are GMT -4. The time now is 06:51 AM.


MobileRead.com is a privately owned, operated and funded community.