[geeks] Quickest way

Andrew Weiss ajwdsp at cloud9.net
Wed Oct 8 16:08:25 CDT 2003


On Wednesday, October 8, 2003, at 02:16 PM, Phil Stracchino wrote:

>
> 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?
>
The last time I did something of this sort was on Linux a while back so 
I am tainted.  I installed a whole bunch of stuff in /opt/sfw and then 
realized that opt was only 1GB large.

I guess either should work fine.

Andrew



More information about the geeks mailing list