Does cp -a also preserve permissions? If not, you'll want to use -p as well.
I can't try it since I'm not at a Linux box at the moment.

Cheers,
 
Paul J. Fraser
[EMAIL PROTECTED]
-----Original Message-----
From: Oliver Lange [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 16 November 2003 4:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [gentoo-user] moving to new partition

Jason Stubbs wrote:
> I did a test and it works fine. The command you'll want is:
> cp -a /mnt/gentoo/var/* /mnt/gentoo/newvar
> 
> Be aware, however, that this will probably not copy .* files in the
top-level 
> directory, in this case /mnt/gentoo/var.
> 

That's it. Becomes a habit to thank you. :)


--
[EMAIL PROTECTED] mailing list




--
[EMAIL PROTECTED] mailing list

Reply via email to