Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: the mv trap
- X-seq: zsh-users 11770
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: the mv trap
- Date: Mon, 13 Aug 2007 16:36:38 +0200
- In-reply-to: <20070813123210.39119.qmail@xxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <Xns998ADF1A94C0Dzzappergmailcom@xxxxxxxxxxx> <20070813023540.GC6199@xxxxxxxxxxxxxxxxxxx> <Xns998B58B931C45zzappergmailcom@xxxxxxxxxxx> <20070813123210.39119.qmail@xxxxxxxxxxx>
On 2007-08-13 08:32:09 -0400, Atom Smasher wrote:
> On Mon, 13 Aug 2007, zzapper wrote:
>
>> 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.
> ================
>
> alias mv="mv -i"
This won't change anything if the target doesn't exist yet.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author