[rescue] Quicky Solaris Question

Phil Stracchino alaric at caerllewys.net
Sat Dec 20 18:08:24 CST 2003


On Wed, Nov 26, 2003 at 02:27:40PM -0500, jdboyd at jdboyd.zill.net wrote:
> On Wed, Nov 26, 2003 at 02:24:44PM -0500, Phil Stracchino wrote:
> > On Wed, Nov 26, 2003 at 01:03:42PM -0600, Joshua Boyd wrote:
> > > what is the solaris equivelent way to do linux's cp -a, copy recursively 
> > > preserving attributes?  cp -R -p@?
> > 
> > 
> > Per cp.1,
> > 
> > $ cp -a foo bar
> > 
> > is equivalent to
> > 
> > $ cp -pdR foo bar
> > 
> > which in turn is equivalent to
> > 
> > $ cp --no-dereference --preserve=all --recursive foo bar
> 
> That looks like you are telling me how to do it on linux.  I already know how 
> to do that.


No, what I'm telling you is what combinations of switches on a non-GNU
cp are equivalent to GNU cp's -a switch.


-- 
 .*********  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 rescue mailing list