mike ledoux wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sun, Feb 10, 2002 at 09:54:27PM -0500, Benjamin Scott wrote: > > On Sat, 9 Feb 2002, mike ledoux wrote: > > > # tar cBlf - . | (cd /mnt/tmp && tar xBspf -) > > > > Why not "cp -a"? Are you just used to old-school Unix, or is there > > something wrong with "cp" we should know about? > > 'cp -a' failed to properly replicate the directory tree the one time I > tried it. This was admittedly some time ago, but 'tar' works, and I > know how to use it, so I haven't seen the need to try it again. Also, > I'm pretty sure that 'cp -a' is a Linux-ism, which I try to avoid as > Linux is *not* the only *nix that I use.
Actually, cp -R works under AIX as well as Linux. IIRC, it also works under SCO and BSD. Of course, it's cp -dpR under Linux vs. cp -hpR under AIX. For that matter, tar cBlf under AIX would fail (l means something different there).
begin:vcard n:Jenkins;Dan tel;fax:1-603-627-7513 tel;work:1-603-627-0443 x-mozilla-html:TRUE url:http://www.rastech.com org:Rastech Inc.;*** Technical Support Excellence for a Quarter Century adr:;;21 Curtis Lane;Bedford;NH;03110;USA version:2.1 email;internet:[EMAIL PROTECTED] title:Technical Director fn:Dan Jenkins end:vcard
