Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Oct 2003 13:22:36 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Jamie <jamie@gnulife.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: tar vs cp
Message-ID:  <3F7B0D5C.7080009@mac.com>
In-Reply-To: <20031001122603.B71418-100000@floyd.gnulife.org>
References:  <20031001122603.B71418-100000@floyd.gnulife.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jamie wrote:
[ ... ]
>     I don't know what the actual rationale is for this. Can anyone explain
> why it is oftentimes better to tar something rather than using cp when
> copying directories and their contents?

tar handles symbolic links properly, whereas cp will "copy through" the contents 
of the link.

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F7B0D5C.7080009>