At 08:48 AM 10/18/99 -0500, David Dyer-Bennet wrote:
>Chris Green <[EMAIL PROTECTED]> writes on 18 October 1999 at 09:21:03 +0100
> > 
> > I copied the qmail installation basically by doing:-
> >     cp -R /oldvar/qmail/* /var/qmail
>
>Okay, that makes sense.  I'm in the habit of using "cp -a" when I try
>to move stuff from one place to another.  The man page seems to say

On Solaris, I think it's "cp -p". However, it doesn't preserve symlinks
(that is, it follows the links and copies the files instead of the links
themselves).

As a rule I always use:
tar cf - . | (cd /new_dir; tar xvf -)
or equivalent (using ssh or using ufsdump if the pathnames are really long,
etc...). It gives me flexibility and makes exact copies.

David.

Reply via email to