MPE/iX Shell and Utilities Reference Manual, Vol 2
tar(1) MPE/iX Shell and Utilities tar(1)
EXAMPLES
The compression option provides a more efficient way of expressing:
tar -cvf - directory | compress >archive
as the one command line:
tar -cvzf archive directory
To identify all files that have been changed in the last week (7 days), and to archive them to a
file on diskette, you might type:
find directory -mtime -7 | tar -cvf a:archive -
DIAGNOSTICS
Possible exit status values:
0 Successful completion.
1 An error occurred.
Messages
Message: Blocking factor "blocksize" is non-numeric
Cause: You specified the –b option, but the blocksize argument was not a valid number.
Action: Specify a valid number as the value of blocksize.
Message: Blocking factor larger than number
Cause: You specified the –b option, but the blocksize argument that you provided is too
large.
Action: Use a smaller blocksize.
Message: chdir to pathname: system error
Cause: See syserror(3).
Action: See syserror(3).
Message: Missing blocking factor after "b"
Cause: You specified the b option but you did not specify a blocking factor as its argu-
ment.
Action: Provide the missing blocking factor.
Message: missing directory after –C
Cause: You specified the –C but did not provide a directory name as an argument.
Action: Provide the missing the directory name.
Commands and Utilities 1-593