From owner-freebsd-questions Fri May 31 19:52:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by hub.freebsd.org (Postfix) with ESMTP id 818D137B404 for ; Fri, 31 May 2002 19:52:11 -0700 (PDT) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id B3C792907F; Fri, 31 May 2002 22:52:05 -0400 (EDT) Date: Fri, 31 May 2002 22:52:05 -0400 (EDT) From: Peter Leftwich X-X-Sender: To: Dan Nelson Cc: Matthias Buelow , FreeBSD LIST Subject: Re: mv vs. tar [overlapping,same fs] In-Reply-To: <20020530024553.GC78068@dan.emsphone.com> Message-ID: <20020531224423.V64670-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Wed, 29 May 2002, Dan Nelson wrote: > Even to different filesystems. A single process can only be reading or writing, and when it's blocked reading, it can't be writing. If you are copying files over a couple meg, it also helps to increase the buffering between the two tars by putting team (from ports) inbetween them, and raising tar's blocksize: > ( cd /source ; tar cbf 128 - . ) | team 1m 4 | ( cd /destination ; tar xbpf 128 - ) Very interesting. I hardly ever use Unix's/FreeBSD's/tcsh's "-" command line but your example makes me want to learn how to master it :) Now does your usage work "as is" ... ie. what is with the parentheses? If set between "back apostrophes" such as ` ` these, would that command line work? I have a new tcsh alias called "tarmove" now, thanks!! > If you're talking about /moving/ within the /same/ filesystem, nothing will beat "mv", since all it does is rename the files to the new location. > Dan Nelson Do different *mounted partitions* on one HD count as "/same/" filesystem? Showing his noviceness, -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message