Date: Fri, 31 May 2002 22:52:05 -0400 (EDT) From: Peter Leftwich <Hostmaster@Video2Video.Com> To: Dan Nelson <dnelson@allantgroup.com> Cc: Matthias Buelow <mkb@mukappabeta.de>, FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org> Subject: Re: mv vs. tar [overlapping,same fs] Message-ID: <20020531224423.V64670-100000@earl-grey.cloud9.net> In-Reply-To: <20020530024553.GC78068@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <dnelson@allantgroup.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020531224423.V64670-100000>