AW: Re: Copy a directory structure with copying files.

2015-10-09 Thread Peter Hunkeler
I'm sorry for the bad formatting. Trying again I'm adding some pax options as follows: a) I want the target to inherit all source attributes: ==> pax -rwE -pe -XCM source target b) I want the target to keep source attributes, except for ACLs (if an) which should be set baset on the

AW: Re: Copy a directory structure with copying files.

2015-10-09 Thread Peter Hunkeler
I'm adding some pax options as follows: a) I want the target to inherit all source attributes:==> pax -rwE -pe -XCM source target b) I want the target to keep source attributes, except for ACLs (if an) which should be set baset on the target environment's ACLs:==> pax -rwE -ppx -XCM source

Copy a directory structure with copying files.

2015-10-05 Thread Dave Crowley
I need to copy a directory structure of a USS (zFS if this matters) from one LPAR to another. I looked at "tar" and "pax" and just can't see a way to do this. I will be changing the high level directory though. For example The from directory: /usr/local/productV1/* To: /usr/lpp/productV1/ I

Re: Copy a directory structure with copying files.

2015-10-05 Thread Jack J. Woehr
Dave Crowley wrote: I need to copy a directory structure of a USS (zFS if this matters) from one LPAR to another. I looked at "tar" tar cf mydir.tar mydir scp mydir.tar me@myremotesystem ssh me@myremotesystem tar xf mydir.tar -- Jack J. Woehr # Science is more than a body of knowledge.

Re: Copy a directory structure with copying files.

2015-10-05 Thread Paul Gilmartin
On 2015-10-05 13:03, Lester, Bob wrote: > Hi Dave, > > HOWD:TSREL:/home/tsrel: man copytree > copytree -- Make a copy of a file hierarchy while preserving all file > attributes > But that copies the files as well as creating the directories. How about: cd source-directory pax

Re: Copy a directory structure with copying files.

2015-10-05 Thread Jack J. Woehr
Jack J. Woehr wrote: ssh me@myremotesystem: Don't forget the colon ":" -- Jack J. Woehr # Science is more than a body of knowledge. It's a way of www.well.com/~jax # thinking, a way of skeptically interrogating the universe www.softwoehr.com # with a fine understanding of human

Re: Copy a directory structure with copying files.

2015-10-05 Thread Jousma, David
Crowley Sent: Monday, October 05, 2015 12:43 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Copy a directory structure with copying files. [ EXTERNAL ] I need to copy a directory structure of a USS (zFS if this matters) from one LPAR to another. I looked at "tar" and "pax" and just c

Re: Copy a directory structure with copying files.

2015-10-05 Thread Lester, Bob
a directory structure with copying files. [ EXTERNAL ] I need to copy a directory structure of a USS (zFS if this matters) from one LPAR to another. I looked at "tar" and "pax" and just can't see a way to do this. I will be changing the high level directory though. For example The

Re: Copy a directory structure with copying files.

2015-10-05 Thread John McKown
On Mon, Oct 5, 2015 at 1:42 PM, Dave Crowley wrote: > I need to copy a directory structure of a USS (zFS if this matters) from > one LPAR to another. I looked at "tar" and "pax" and just can't see a way > to do this. I will be changing the high level directory though. > For

Re: Copy a directory structure with copying files.

2015-10-05 Thread Paul Gilmartin
Ok; in my earlier reply I misread the Subject: line, "with copying" as "without copying". So: On 2015-10-05 13:32, Klan, Rob (RET-DAY) wrote: > > An IBMer gave me this process, works great moving USS stuff around. > > Adjust to your needs. > > Write it > > // SET PAX1='sh cd

Re: Copy a directory structure with copying files.

2015-10-05 Thread Klan, Rob (RET-DAY)
@LISTSERV.UA.EDU Subject: Re: Copy a directory structure with copying files. On Mon, Oct 5, 2015 at 1:42 PM, Dave Crowley <dave.crow...@sas.com> wrote: > I need to copy a directory structure of a USS (zFS if this matters) > from one LPAR to another. I looked at "tar" and "pax" a