T. Joseph CarterSat Jul 10 17:03:07 PDT 2004
On Sat, Jul 10, 2004 at 04:26:33PM -0700, Cory Petkovsek wrote: > > I can never remember the subtle details for the cp options. So I > > tend to lose the symlinks, turning them into files. With tar that > > is not a problem. > > cp -a is all you need to remember. Think of it as "all". No subtleties here. > Only works on linux, though. The equivalent, cp -dpR, is specific to GNU cp. The use of -d is POSIXly wrong, and it should IIRC be cp -pPR. The problem is that -P does not do what it should in GNU cp as of yet--this is expected to be changed soon.