From owner-freebsd-questions Sat Dec 1 10: 2:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by hub.freebsd.org (Postfix) with ESMTP id D5B1037B405 for ; Sat, 1 Dec 2001 10:02:35 -0800 (PST) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.9.3/8.9.3) with ESMTP id MAA94938; Sat, 1 Dec 2001 12:01:46 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Sat, 1 Dec 2001 12:01:46 -0600 (CST) From: Ryan Thompson To: Philip Hallstrom Cc: Maciek , questions@FreeBSD.ORG Subject: Re: percent progress In-Reply-To: <20011130164903.G2924-100000@teak.adhesivemedia.com> Message-ID: 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 Philip Hallstrom wrote to Ryan Thompson: > Actually mv could take a really long time if you move across > filesystems because then it is really doing a cp and then a > delete... Exactly... Which is precisely why mv(1) does not need a progress indicator. See /usr/src/bin/mv/ .. It really does exec /bin/cp to do the copy across filesystems if the rename fails. ;-) > add the "-v" option to either mv or cp and watch the files go > by... Yep.. Useful workaround. > -philip - Ryan -- Ryan Thompson Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message