View Single Post
Old 10-10-2009, 02:38 PM   #8
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 5,795
Karma: 4027751
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
Well, the actual commands I use are:

Code:
zip -X0 file.epub mimetype
zip -X9Dr file.epub META-INF OEBPS
I left out the -X an -D flags because they were not meaningful for what I was trying to say, and I figured they're not actually needed (they say the zip program not to store additional file attributes and directory entries), maybe the -X flag is needed (I still don't think so)?

Other than that, and ignoring that you said you did not modify the mimetype file, I'd think, as Peter says, there's something like a spurious end-of-line or space character.
Jellby is offline   Reply With Quote