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" 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/* > pax -wf "//'some.ps.file"' /usr/local/productV1/ > > To: > /usr/lpp/productV1/ > pax -s#local/lpp/ -rf "//'some.ps.file'" This _should_ work. But I have not tried it. pax can write to a sequential data set. I would strongly suggest pre-allocating it with the proper size and DCB information (U/23778 is what I use). > > I was hoping to "unPax" to the new directory with the entire directory > structure. > > Please help a Unix rookie.. > > Dave Crowley > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN