Originally Posted by gudrun.claeys
how would you re-create the epub file on OSX?
Doesn't OSX have a command line zip? If it does, you can use what I wrote above:
zip -X0 file.epub mimetype
zip -X9Dr file.epub META-INF OEBPS
(assuming the same flags apply and the files are all in the OEBPS directory).