The pax command is the way I found to copy from one dir or to another -
part of my maint process is to compare old and new etc filesystems, then
use the pax command to copy new data without overlaying the old data
from omvs change to the dir you are copying from
issue the pax command
pax -rwkv -pe . /todir/dir1
pax -rw puts you in copy mode
k prevents the pax utility from overlaying existing symblinks
v displays the symblinks and files being copied
-pe preserves the user ID file mode access time mod time...all extended
attributes and permissions
'.' represents the current location you have changed directories to
(working dir)
On 7/28/2021 1:10 PM, Lizette Koehler wrote:
Dearest List -
I am not well trained in USS, partially because I do not need to do it often
I have been asked to do the following. I am not sure of the specific
command in USS or best way to do it. Any specific examples will be helpful
I have mounted on /path a single filesystem consisting of 3 paths
/path/path1
/path/path2
/path/path3
I now need to take each of those three paths and create a new zFS for each
one (easy) and then copy the original /path/path1 to the new zFS file system
and mount it in the same place
Once the filesystem is not used I will
Unmount /path
Mount /tmppath/path
Mount the new zFS filesystems
/newpath1
/newpath2
/newpath3
What I do not know is how to copy everything (paths etc. ) from
/tmppath/path/path1 to /newpath1
Any pointers or suggestions welcomed. Hopefully I explained it well without
incorrectly stating the USS part.
I tried searching the internet and got information over load on USS.
Lizette
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
--
/I am not bound to win, but I am bound to be true. I am not bound to
succeed, but I am bound to live by the light that I have. I must stand
with anybody that stands right, and stand with him while he is right,
and part with him when he goes wrong. *Abraham Lincoln*/
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN