Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!orion.oac.uci.edu!hardy From: hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy)) Newsgroups: comp.sys.hp Subject: Re: Third-party SCSI disks under HP-UX Message-ID: Date: 20 Feb 91 03:50:13 GMT References: <2980013@otter.hpl.hp.com> Organization: University of California, Irvine, USA. Lines: 27 Nntp-Posting-Host: golem.ps.uci.edu In-reply-to: scu@otter.hpl.hp.com's message of 19 Feb 91 17:54:48 GMT In article <2980013@otter.hpl.hp.com> scu@otter.hpl.hp.com (Shankar Unni) writes: If you want to copy a tree to a target on the same node, instead of using rcp -r, an equally fast and more reliable way is to execute the following script, which preserves access and modify times, ownerships and links, if run by a root user: % copytree dir1 dir2 The copytree script looks like the following: ---- Thanks for the script -- I was always a bit unhappy that rcp ``touched'' the dates. I only used rcp because the method described in the Administration Tasks required more patience than I had. Regards, Hardy Mayer ----****---- Professor Meinhard E. Mayer Department of Physics University of California Irvine, CA, 92717 USA