From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20355 invoked from network); 13 Aug 2007 07:45:39 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00, RCVD_NUMERIC_HELO autolearn=no version=3.2.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 Aug 2007 07:45:39 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 21747 invoked from network); 13 Aug 2007 07:45:33 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Aug 2007 07:45:33 -0000 Received: (qmail 6662 invoked by alias); 13 Aug 2007 07:45:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23752 Received: (qmail 6652 invoked from network); 13 Aug 2007 07:45:30 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 13 Aug 2007 07:45:30 -0000 Received: (qmail 21438 invoked from network); 13 Aug 2007 07:45:30 -0000 Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by a.mx.sunsite.dk with SMTP; 13 Aug 2007 07:45:26 -0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IKUc1-0003zv-Na for zsh-workers@sunsite.dk; Mon, 13 Aug 2007 09:45:17 +0200 Received: from 212.124.199.60 ([212.124.199.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Aug 2007 09:45:17 +0200 Received: from david by 212.124.199.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Aug 2007 09:45:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@sunsite.dk From: zzapper Subject: Re: the mv trap Date: Mon, 13 Aug 2007 07:44:39 +0000 (UTC) Organization: SuccessTheory Message-ID: References: <20070813023540.GC6199@prunille.vinc17.org> X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 212.124.199.60 User-Agent: Xnews/2006.08.24 Sender: news Cc: zsh-users@sunsite.dk Vincent Lefevre wrote in news:20070813023540.GC6199@prunille.vinc17.org: > On 2007-08-12 20:57:13 +0000, zzapper wrote: >> Hi >> >> > mv x1 x2 x3 x4 x5 directory > > Your mv is buggy. It must report the error and must not do any change > on your files. > Hi, red face; in fact my mv does report "not a directory". My problem is reduced to unintentionally moving a single file to another single file rather than the intended directory. MM solves this by suggesting a trailing slash $ mv x3 bucket/ mv: accessing `bucket/': Not a directory -- zzapper http://www.rayninfo.co.uk/vimtips.html