Created
January 27, 2016 12:38
-
-
Save rraallvv/97317b5ca19636adc7aa to your computer and use it in GitHub Desktop.
Decompress/compress EPUB e-books
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Decompress files from EPUB e-book | |
unzip epubfilename.epub | |
# Compress back to EBUB e-ebook | |
zip -X newepubname.epub mimetype | |
zip -rg newepubname.epub META-INF -x \*.DS_Store | |
zip -rg newepubname.epub OEBPS -x \*.DS_Store |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment