View Single Post
Old 01-20-2010, 12:56 AM   #12
Tony_A20
Enthusiast
Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.
 
Tony_A20's Avatar
 
Posts: 39
Karma: 25000
Join Date: Dec 2009
Device: Kindle 3
7Zip doesn't work because there is no way (switches etc) to strip file attributes, and prevent entries in the archive directory.

The Zip.exe version posted above by Jon Wolf works perfectly. I arranged my META-INF, OPS, mimetype, and zip.exe in a folder, and used the command:

zip -Xr9D FileName.epub mimetype * -x zip.exe

where:
-X = strip file attributes
r = travels file structure recursively
9 = compression level (does not compress mimetype because of 20 byte file length).
D = no directory entries created in epub file.
* = wildcard to include all files and directories
-x = exclude zip.exe

Getting zip.exe from Jon was the solution to MY problem, the rest was overcoming my stupidity and ignorance, which I was able to do.

Tony
Tony_A20 is offline