[rescue] Quicky Solaris Question

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


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


-- 
 .*********  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