[geeks] Quickest way
Phil Stracchino
alaric at caerllewys.net
Wed Oct 8 13:16:00 CDT 2003
On Wed, Oct 08, 2003 at 01:37:42PM -0400, Andrew Weiss wrote:
> What is the quickest way to move a bunch of files from /opt/sfw to
> /usr/sfw on two separate partitions preserving all permissions in
> Solaris 9. For some reason I seem to think cp will crash and tar won't
> quite work. Do I need dump/restore?
Why would cp crash, and what is tar doing incorrectly?
You could cp -a /opt/sfw /usr/sfw, or you could:
cd /opt; tar cvpf - sfw | (cd /usr ; tar xvpf - )
In what respect do these not work?
--
.********* Fight Back! It may not be just YOUR life at risk. *********.
: phil stracchino : unix ronin : renaissance man : mystic zen biker geek :
: alaric at caerllewys.net : alaric-ruthven at earthlink.net : phil at latt.net :
: 2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold) :
: Linux Now! ...Because friends don't let friends use Microsoft. :
More information about the geeks
mailing list