[rescue] Quicky Solaris Question

jdboyd at jdboyd.zill.net jdboyd at jdboyd.zill.net
Sat Dec 20 18:08:24 CST 2003


On Wed, Nov 26, 2003 at 02:13:15PM -0500, 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 -)

Perhaps you could tell me what I'm doing wrong, please:

[jdboyd at jdboyd local]$ sudo -s
[root at jdboyd local]# pwd
/usr/local
[root at jdboyd local]# tar -cf - . | (cd /export/local/; tar -xvBpl - )
tar: -: Not found in archive
tar: Error exit delayed from previous errors
[root at jdboyd local]# 



More information about the rescue mailing list