Laurent Duperval <[EMAIL PROTECTED]> wrote:
> 
> 
> I typically use:
> 
> tar -cf - . | (cd /new/directory ; tar xvf -)
> 
> I used to do it because it was faster than using cp. Don't know if that's
> still true.

Whether or not that is true I don't know, but I *do* know that cp has a
tendency to FOLLOW softlinks (and COPY, not reproduce, hard links), whereas
tar does not, so tar (and cpio, if you prefer it to tar) is better there.

rc


Rusty E. Carruth       Email:     [EMAIL PROTECTED] or [EMAIL PROTECTED]
Voice: (480) 345-3621  SnailMail: Schlumberger ATE                   ___
FAX:   (480) 345-8793             7855 S. River Parkway, Suite 116   \e/
Ham: N7IKQ @ 146.82+,pl 162.2     Tempe, AZ 85284-1825                V
ICBM: 33 20' 44"N   111 53' 47"W  http://tuxedo.org/~esr/ecsl/index.html

Reply via email to