|
|
tar [key] [name ...]
where key is specified by a plethora of options (see abridged
list below and unabridged list in the man pages) and name is
either the file name or device name.
Here are some of the more commonly used keys:
c Creates a new tape.
f Used for taring to a tape.
t Lists the contents of a tar file.
v Turns verbose on.
x Extracts selected files. If no file
argument is given, the entire contents
of the tar file is extracted.
Here is the syntax I use to create and read tar files:
tar cvf filename.tar directoryname <-- creates
tar xvf filename.tar directoryname <-- reads
If you wish to create or read a tar file off of a magnetic tape, replace
filename.tar with /dev/drivename.
© 1993-1998 Christopher C. Taylor |
||||||||