On Thu, 24 Mar 2005 16:23:26 -0500, Mike Turcotte wrote:

> I would like to move a partition from one disk to the other, so I can
> make use of more space. What I have done is create a new partition on
> the other disk, and just copied all files over. Problem is, my htdocs
> folder is in this partition, and contain a lot of hidden .* files. How
> do I copy those over along with everything else? I don't use the copy
> command all that much, what do I add to "cp -gR"?

You're better off using rsync for this. rsync preserves permissions etc
and can be resumed if interrupted.

rsync -ax /old/partition/ /new/partition/


-- 
Neil Bothwick

After all is said and done let there not be more said than done.

Attachment: pgpCJTFcbtLLG.pgp
Description: PGP signature

Reply via email to