GNU bug report logs - #5926
feature request: mv -p to create missing target dir

Previous Next

Package: coreutils;

Reported by: Rodolfo Borges <rodolfo.borges <at> gmail.com>

Date: Sun, 11 Apr 2010 14:10:02 UTC

Severity: wishlist

Done: Bob Proulx <bob <at> proulx.com>

Full log


View this message in rfc822 format

From: "Alan Curry" <pacman-cu <at> kosh.dhis.org>
To: bob <at> proulx.com (Bob Proulx)
Cc: 5926 <at> debbugs.gnu.org
Subject: bug#5926: feature request: mv -p to create missing target dir
Date: Sat, 24 Apr 2010 17:57:17 -0500 (GMT+5)
Bob Proulx writes:
> 
> As a side comment I don't see the point of:
> 
> >     $(which mv) "$@"
> 

I can guess the point:

bash$ alias mv='mv -i'
bash$ touch a b
bash$ mv a b
mv: overwrite `b'? ^C
bash$ $(which mv) a b
bash$ ls -l a b
ls: cannot access a: No such file or directory
-rw------- 1 pacman users 0 Apr 24 17:55 b

Silly aliases.

-- 
Alan Curry




This bug report was last modified today.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.