Re: [UNIX] Creating a tar.gz

From: Allan Rolf Gortemaker (umgortem@CC.UMANITOBA.CA)
Date: 03/19/98


use the tar and gzip commands such as:

tar -cf mud.tar src

creates a tar file named mud.tar of every in the source directory
and its subdirectories.

gzip -9 mud.tar compresses the mud.tar file to maximum compression

9 = max compression, 1 = min compression

that will create a mud.tar.gz file

to decompress:

gzip -d mud.tar.gz
tar -xf mud.tar

Try typing "man tar" and "man gzip" for the manual entries on tar and gzip
They are much more in depth.

It is possible to pipe both commands into one, but for ease of learning I
kept them separate.

Allan Gortemaker


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST