Re: Unix compression command
As you've mentioned, these compression commands work ONLY on SINGLE files... if you want to compress a DIRECTORY (unix calls them DIRECTORIES) you've got to use TAR command to store all of the files and sub-directories of that directory in a single file. then the compression command comes in and can comress the file. also the decompression command is the same, except for the "-d" option which will cause the tool to work "backwards" and decompress the file. then you've got to use TAR command with the "-x" option to make it restore the directory structure from that file into the disk. please note that all of the options in late linuces can be issued without the dash at the beginning but the legacy unices which does not use the GNU getopt, require the "-" at the beginning of (each) option.