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.
-----------------------------------------------------------
Matt Housh email: [EMAIL PROTECTED]
MicroComputer Specialist University of Tulsa
"Pardon me, stewardess. I speak Jive."
On Wed, 22 Apr 1998, Ed Ewing wrote:
> Trying to move /usr directory to a second hard drive. When doing cp -r -p *
> am receiving errors that: "cannot copy cyclic symbolic link".
>
> Is there a way to move the directory intact or do the links need to be
> recreated?
>
> Thanks for any help.
>
>
> --
> 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.
>
--
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.