From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23185 invoked from network); 14 Oct 1998 14:59:28 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 14 Oct 1998 14:59:28 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id KAA28467; Wed, 14 Oct 1998 10:43:08 -0400 (EDT) Resent-Date: Wed, 14 Oct 1998 10:43:08 -0400 (EDT) From: "Bart Schaefer" Message-Id: <981014074626.ZM18376@candle.brasslantern.com> Date: Wed, 14 Oct 1998 07:46:26 -0700 In-Reply-To: <199810140948.KAA20183@diamond.tao.co.uk> Comments: In reply to "Zefram" "Re: v3.1.4 Files/mv bug" (Oct 14, 10:48am) References: <199810140948.KAA20183@diamond.tao.co.uk> X-Mailer: Z-Mail (4.0b.820 20aug96) To: phil@athenaeum.demon.co.uk (Phil Pennock), zsh-workers@math.gatech.edu Subject: PATCH: v3.1.4 Files/mv bug is a feature MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"zkYeE.0.ky6.yXB9s"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4429 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Oct 14, 10:48am, Zefram wrote: } Subject: Re: v3.1.4 Files/mv bug } } Phil Pennock wrote: } >In zsh v.3.1.4, the 'files' module ... the 'mv' command doesn't handle } >moving across devices. } } This is a deliberate feature. That probably ought to be documented, then. Index: Doc/Zsh/mod_files.yo =================================================================== --- mod_files.yo 1998/06/01 17:08:43 1.1.1.1 +++ mod_files.yo 1998/10/14 14:45:04 @@ -48,6 +48,12 @@ The tt(-i) option causes the user to be queried about replacing any existing files. The tt(-f) option causes any existing files to be silently deleted, without querying. tt(-f) takes precedence. + +Note that this tt(mv) command performs renaming only. It cannot move +files across devices. This is a deliberate feature. Files can only +be copied across devices, not truly moved, and the purpose of tt(mv) +is to move files. If the desired action is copy followed by remove, +use tt(cp) and tt(rm). ) findex(rm) item(tt(rm) [ tt(-dfirs) ] var(filename) ...)( -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com