In <[EMAIL PROTECTED]>, Bill Moran <[EMAIL PROTECTED]> typed:
> dick hoogendijk wrote:
> Yup.  Use 'cp -Rp /old/part /new/part' to maintain as many perms
> as possible.

No, *don't* use cp for this. That will cause hard links to turn into
multiple files. Instead, use tar:

        (cd /old/part; tar cf - .) | (cd /new/part; tar xpf -)

        <mike
-- 
Mike Meyer <[EMAIL PROTECTED]>              http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to