Skip to content

Instantly share code, notes, and snippets.

@eee-c
Created November 27, 2012 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eee-c/4154626 to your computer and use it in GitHub Desktop.
Save eee-c/4154626 to your computer and use it in GitHub Desktop.
Ebok mobi
#!/bin/sh
echo -n "doing post mobi things..."
ebook-convert book.mobi book_ebok.mobi --chapter-mark=none --page-breaks-before='/'
mv book.mobi book.mobi.pre-calibre
mv book_ebok.mobi book.mobi
echo "done!"
@eee-c
Copy link
Author

eee-c commented Nov 27, 2012

This requires that the ebok setting is saved in Calibre preferences per: http://japhr.blogspot.com/2011/12/kindle-fire-book-vs-document.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment