From owner-freebsd-questions Wed May 29 18:20: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from altair.mukappabeta.net (altair.mukappabeta.net [194.145.150.157]) by hub.freebsd.org (Postfix) with ESMTP id 4A7C337B401 for ; Wed, 29 May 2002 18:19:56 -0700 (PDT) Received: by altair.mukappabeta.net (Postfix, from userid 1001) id 5C2616BF; Thu, 30 May 2002 03:20:23 +0200 (CEST) Date: Thu, 30 May 2002 03:20:23 +0200 From: Matthias Buelow To: Peter Leftwich Cc: FreeBSD LIST Subject: Re: mv vs. tar Message-ID: <20020530012023.GB593@altair.mukappabeta.net> References: <20020529210249.J77775-100000@earl-grey.cloud9.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020529210249.J77775-100000@earl-grey.cloud9.net> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Leftwich writes: >When moving a large directory (hoping to preserve ALL modification times), >is it better/smarter to use the "mv" command, or first "tar" the directory >then "untar" it to the new location? Some interesting debate to follow... I prever pax -rw, since you don't have to run the data through a pipe then (like you would have to with tar cf -|(cd ...; tar xf -).) I think cpio in pass-through mode is equivalent but haven't verified. --mkb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message