On Wed, 22 Apr 1998, Leung Yau Wai wrote:
> On Wed, 22 Apr 1998, Matt Housh wrote:
> > cp -a (equivalent to cp -dpR, iirc) should preserve links, but if
> > it doesn't work, (cd /source;tar cf - ./)|(cd /dest;tar xvf -) might do as
> > well.
> But
> (cd /source;tar cf - ./)|(cd /dest;tar xvpf -) should be better
or: cd /source
find . -print | cpio -p -m -v -d /dest
BTW, don't forget the 'p' if you choose the 'tar' command, if you do, it
strips all your SGID bits etc. off -- i.e., minor disaster.
Eric Lee Green [EMAIL PROTECTED] Executive Consultants
Systems Specialist Educational Administration Solutions
"We believe Windows 95 is a walking antitrust violation" -- Bryan Sparks
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.