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
|