MPE/iX Shell and Utilities Reference Manual, Vol 2
tar(1) MPE/iX Shell and Utilities tar(1)
o when writing files to an archive, does not record owner and modes of directories in
the archive. If this is specified when extracting from an existing tar archive, tar
does not restore any owner and group information in the archive. The default is to
record this information when creating a tar archive, and to restore it when extracting
from the archive.
p when extracting, restores the three high-order file attribute bits, exactly as in the ar-
chive. On
UNIX and POSIX-compliant systems, they indicate the set-user-ID, set-
group-ID, and saved-text attributes. To use p on these systems, you must have appro-
priate privileges; tar restores the modes restored exactly as in the archive and ig-
nores the UMASK.
U when creating a new tape archive with the –c option, forces tar to use the
USTAR
format. The default format used when creating a new archive is the original UNIX
tar format. When you do not specify –c, tar can deduce whether or not the tape
archive is in
USTAR format by reading it, so you can use U to suppress a warning
about
USTAR format.
v displays each file name, along with the appropriate action key letter as it processes
the archive. With the –t form of the command, this option gives more detail about
each archive member being listed.
-V volpat
provides automatic multi-volume support. tar writes output to files — the names of
which are formatted using volpat. Any occurrence of # in volpat is replaced by the
current volume number. When you invoke tar with this option, it asks for the first
number in the archive set, and waits for you to type the number and a carriage return
before proceeding with the operation. tar issues the same sort of message when a
write error or read error occurs on the archive; the reasoning is that this kind of error
means that tar has reached the end of the volume and should go on to a new one.
w is used to confirm each operation, such as replacing or extracting. tar displays the
operation and the file involved. You can then confirm whether or not you want the
operation to take place. Typing in an answer that begins with y] tells tar to do the
operation; anything else tells tar to go on to the next operation.
z Reads and/or writes the tape archive by first passing through a compression algo-
rithm compatible with that of compress(1).
1-592 Commands and Utilities