Compress

Arcgsh workd together with the compress 4.3 port by Dale Schumacher (dal@syntel.uucp).

Compress serves to compress or decompress single files. It does not pack several files into an archive, but converts a single file into a compressed representation and vice versa.

When compressing a file compress appends the original file name with the letter .Z, if possible as an extension. Upon decompression the Z will be removed. The following examples may illustrate this;

Originaldatei $&rarr#longrightarrow;$ komprimiert $&rarr#longrightarrow;$ dekomprimiert  
FOO $&rarr#longrightarrow;$ FOO.Z $&rarr#longrightarrow;$ FOO  
FOO.C $&rarr#longrightarrow;$ FOO.CZ $&rarr#longrightarrow;$ FOO.C  
FOO.CC $&rarr#longrightarrow;$ FOO.CCZ $&rarr#longrightarrow;$ FOO.CC  
FOO.CCC $&rarr#longrightarrow;$ FOO.CCZ $&rarr#longrightarrow;$ FOO.CC Attention!

Please note that upon compression of a file with an extension of three characters the last character will be lost!

If compress cannot compress a file the file itself — and its name, too — will stay unchanged. Examples for files that cannot be compressed are already compressed files or very small ones.



Subsections