Last active
August 29, 2015 14:02
-
-
Save pieplu/119fe29c1a7c95aad66c to your computer and use it in GitHub Desktop.
Conversion dossier epub en fichier .epub depuis un mac
This file contains 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
# Optionel s'il s'agit d'un *.epub déjà zipé avec un mac | |
unzip YOURePubNAME.epub | |
# Aller dans le dossier epub | |
# Première étape: | |
zip -X YOURePubNAME.epub mimetype | |
# Ajouter à l'archive le dossier META-INF en ignorant les fichiers .DS_Store mac. | |
zip -rg YOURePubNAME.epub META-INF -x \*.DS_Store | |
# Puis le dossier OEBPS | |
zip -rg YOURePubNAME.epub OEBPS -x \*.DS_Store | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment