On Mon, 28 Dec 2015 18:12:05 +0000, Skeldum, William wrote:
>The pax command is a good choice because it can copy all files, directories,
>and symbolic links in a directory using a single command without overlaying
>any existing files. For example:
>cd /Service/ZOS113/var
>pax -rvwk -pe * /var
>
For rsync-like behavior, one often wants to overwrite older files and preserve
newer.
For this, "-u" may be a better choice than "-k".
... and your command moves files only within an LPAR. Across LPARs,
you need something such as:
ssh other-LPAR "pax -w bin" | # (Yes, the dreaded "ssh".)
pax -rvu
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN