
Exchanging ZIP files between MS-DOS/Windows and Linux
- Document ID: 98050254
- Posted Date: 1999-06-09
- Last Updated: 1999-06-09
- Distribution: View Public Website
- Issue
- Information about moving large files from MS-DOS/Windows/Windows NT machines to Linux machines via multiple 1.44 megabyte floppy disks.
- Procedure
- Consult the
man
pages on the Linux machine for additional details. man pages exist for zip, unzip, zipsplit, etc.
man zip
,man unzip
,man zipsplit
, etc.
- Create the spanned floppy set on the MS-DOS/Windows machine.
pkzip -&w a:\bigset hugefile.exe
- Copy the floppy files over
to the Linux machine with the mcopy command, e.g.:
mcopy a:
- As these are copied
over, rename them before copying the next segment to avoid
over-writes, since all segments have the same filename.
- Suppose that after copying each floppy in turn to a
directory on the Linux machine there are two segments on the
Linux machine, e.g.
hugefile1.zip
andhugefile2.zip
. Combine these into ONE file on the Linux machine using thecat
command:
cat hugefile1.zip hugefile2.zip > combined.zip
- ZIP won't like the resulting
combined.zip
file without (F)ixing it first, so run ZIP with the FIX option:
zip -F combined.zip
<-- Use UPPERCASE 'F' here
ZIP prints this message:
zip warning: combined.zip has a preamble of 4 bytes
Ignore that message. (If that doesn't fix it, try the -FF option.)
- Test the resulting file with:
zip -T combined.zip
<-- Use UPPERCASE '-T' here
ZIP prints a warning message and then prints this one:
test of combined.zip OK
- Run UNZIP with the -l option to list the contents
of combined.zip:
unzip -l combined.zip
<-- Use lowercase 'ell' here
- Run UNZIP with appropriate options to manipulate the contents of combined.zip. Note that SPLIT works with any file, it's not a ZIP-specific utility. Check the man page for more
- Consult the
- Export Control and EULA
- Use of any software made available for download from this system constitutes your acceptance of the Export Control Terms and the terms in the Dynabook end-user license agreement both of which you can view before downloading any such software.