Zipfiles

A zipfile is a file made by the utility zip. This is a way of packaging together many files as one file for distribution, whilst at the same time compressing them. This format is common on PCs, but seems to be gaining ground on Unix as well.

In order to unpack a zipfile, you will need the unzip utility, which can be compiled on most platforms. This is a gzipped tarfile. You might also find the zip utility useful. This is a zipfile.

If you have this utility, then you can unpack a zipfile by saving it into a file called, say, foo.zip and typing the following Unix command.

unzip foo
This will recover the file and directory structure of all the files within the zipfile as they were when the zipfile was created (usually, though not always, as files and subdirectories within the current directory).

If you want to know what is in a zipfile before unpacking it, type the following Unix command.

unzip -l foo
More information about zip and unzip is contained in the man files which accompany the distribution.


Rexx Spectrum