[rescue] Quicky Solaris Question
kloch at gurunet.net
Sat Dec 20 18:08:24 CST 2003
Dave McGuire wrote:
> On Nov 26, 2003, at 2:03 PM, Joshua Boyd wrote:
>> what is the solaris equivelent way to do linux's cp -a, copy recursively
>> preserving attributes? cp -R -p@?
> # cd src
> # tar -cf - . | (cd /dest; tar -xvBpf -)
Or if it's on a different machine:
tar cvf - . | ssh -l <username> <machine> "cd /dest; tar xvpf -"
Works faster than nfs sometimes.
More information about the rescue