Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: the mv trap



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