Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Dec 2001 12:01:46 -0600 (CST)
From:      Ryan Thompson <ryan@sasknow.com>
To:        Philip Hallstrom <philip@adhesivemedia.com>
Cc:        Maciek <dentysta@pc42.lublin.sdi.tpnet.pl>, questions@FreeBSD.ORG
Subject:   Re: percent progress
Message-ID:  <Pine.BSF.4.21.0112011159350.7260-100000@ren.sasknow.com>
In-Reply-To: <20011130164903.G2924-100000@teak.adhesivemedia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ryan@sasknow.com>
  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




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