epzip¶ ↑
epzip(eunzip) is EPUB packing tool. It’s just only doing ‘zip’ and ‘unzip’. :)
usage¶ ↑
$ epzip <srcdir> [filename]
‘srcdir’ is EPUB resource directory; it has mimetype, META-INF/container.xml, and other assets.
‘filename’ is EPUB filename that will be created. If no filename, dir + “.epub” is used.
$ epunzip <filename> [targetdir]
‘filename’ is EPUB filename that will be extracted.
‘targetdir’ is EPUB resource directory to be extracted into. If no targetdir, current directory is used.
Note on Patches/Pull Requests¶ ↑
-
Fork the project.
-
Make your feature addition or bug fix.
-
Add tests for it. This is important so I don’t break it in a future version unintentionally.
-
Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
-
Send me a pull request. Bonus points for topic branches.
Copyright¶ ↑
Copyright © 2010 Masayoshi Takahashi. See LICENSE for details.