z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Appending to an existing archive

z/OS UNIX System Services User's Guide
SA23-2279-00

To add additional files and directories to a previously created uncompressed archive, use the -a (append) option.

Example: To add the file oops.forgot to the existing archive allfiles.pax, issue: :
 pax -awvf allfiles.pax  oops.forgot

Result: The file oops.forgot is added to the end of the archive. If a file with the same name already exists in the archive, it will not be overwritten or replaced.

Note:
  1. You can append directly to archives in sequential MVS™ data sets only. pax and tar do not support appending to archives that reside in partitioned MVS data sets.
  2. The equivalent tar command is:
    tar -rvf allfiles.pax  oops.forgot

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014