Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2003 12:29:17 -0500 (CDT)
From:      Jamie <jamie@gnulife.org>
To:        freebsd-questions@freebsd.org
Subject:   tar vs cp
Message-ID:  <20031001122603.B71418-100000@floyd.gnulife.org>

next in thread | raw e-mail | index | archive | help


    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 its contents.

    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?




    Thanks,

   - Jamie



"A friend is someone who lets you have total freedom to be yourself."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031001122603.B71418-100000>