tar handles symbolic links properly, whereas
cp will copy through the contents of the link.
Also true for cp -R? :-)
No, but not all systems have cp -R, although
FreeBSD does. Likewise for the -p or
--preserve-permissions option...
tar requires two executions, one to create the
archive
I've been told in the past that if you have a series of directories
with subdirectories that you need to copy to another location on a disk,
it is better to tar the directory, move the tarred file to the
destination, and then untar it, rather than using cp to copy the directory
and all of
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
Chuck Swiger wrote:
tar handles symbolic links properly, whereas cp will copy through the
contents of the link.
Also true for cp -R? :-)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe,
On Wednesday, October 1, 2003, at 04:03 PM, Felix Deichmann wrote:
Chuck Swiger wrote:
tar handles symbolic links properly, whereas cp will copy through
the contents of the link.
Also true for cp -R? :-)
No, but not all systems have cp -R, although FreeBSD does. Likewise
for the -p or
On Wed, 1 Oct 2003, Charles Swiger wrote:
On Wednesday, October 1, 2003, at 04:03 PM, Felix Deichmann wrote:
Chuck Swiger wrote:
tar handles symbolic links properly, whereas cp will copy through
the contents of the link.
Also true for cp -R? :-)
No, but not all systems have cp -R,
--On Wednesday, October 01, 2003 13:22:36 -0400 Chuck Swiger
[EMAIL PROTECTED] wrote:
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?
On Wed, Oct 01, 2003 at 03:25:27PM -0700, Pat Lashley wrote:
--On Wednesday, October 01, 2003 13:22:36 -0400 Chuck Swiger
[EMAIL PROTECTED] wrote:
Jamie wrote:
[ ... ]
I don't know what the actual rationale is for this. Can anyone
explain why it is oftentimes better to tar