4
I need to create a .zip file that can be unzipped by a very old version of PKZIP - version 2.50. I am currently using 7-zip to try this, but I can use a different zip program so long as it has a CLI.
Using 7-zip's default settings to create a ZIP file, PKZIP 2.50 gives the error "PKZIP: (W3) Warning! requires PKZIP version 78.8 to extract: filename.ext"
Using a newer version of PKZIP is not an option.
I believe that the switch I want is the -m switch, but I've tried variations on this and none lead to a file PKZIP can deal with, for example the following:
7z a -mx=9 -mm=Deflate '/path/to/file.zip' '/path/to/file'
What command should I be running to create a backwards-compatible zip file?
Can you give us an example of the command line you're currently attempting to use? – Ƭᴇcʜιᴇ007 – 2015-02-04T15:38:00.140
Added it to the question – ArgumentBargument – 2015-02-04T15:44:01.213
Why not just use PKZip 2.5 to create the zip? Guaranteed compatibility. :) – Ƭᴇcʜιᴇ007 – 2015-02-04T15:49:59.177
1I was hoping to put together something a bit more portable - the script will hopefully be running on Linux where the old PKZIP .exe won't run without mucking around in WINE or similar. Also, part of me cringes at re-deploying software last updated in 1998. – ArgumentBargument – 2015-02-04T15:54:51.993
Since 7-Zip can create TAR, would that be an easier, native, format for Linux? – DrMoishe Pippik – 2015-02-04T18:19:06.440