SFINX software tree - File compression

Files may be compressed for various reasons and with various types of compression. On our system, we have programs to deal with most of those formats.

UNIX compress (.Z)

Files compressed with compress will end in .Z; such files can be uncompressed using uncompress. The GNU zip utilities described below can also deal with this format.

GNU zip (.z or .gz)

Files compressed using gzip will have a .gz or .z extension (depending on the version. The program to unpack these files is gunzip, which will replace the compressed file with the uncompressed version.

In general, GNU zip produces smaller files than compress, and it provides the user with more options to comtrol the compression. It uses the Lempel-Ziv coding (LZ77).

There are more utilities to handle gnu-zipped files:

zip

This is the compression and file archiving program compatible with the DOS pkzip program (version 2.04). Apart from compressing the files, it also can be used to combine multiple files in a single archive. The archive will usually have the extension .zip.

The program to unpack such an archive is unzip.

arj

Another archive format popular on the DOS platform. We do have a UNIX version of unarj to unpack such archives.

pack

Pack, unpack and pcat deal with packed files (default extension .z, but don't confuse them with older GNU zip output.

Sun only


David.Jansen@strw.leidenuniv.nl
Last modified: Fri Mar 21 14:19:15 MET 1997