bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature request, mv


From: Jim Meyering
Subject: Re: Feature request, mv
Date: Wed, 10 May 2006 20:35:54 +0200

"Joshua Hudson" <address@hidden> wrote:
...
> I still have to admit being surprised that, when
> $ mkdir a
> $ mkdir b
> $ strace ./mv -T -f a b
> didn't even try to rename("a", "b") before giving error message.

Once it knows the target (b) is a directory, if you're using -T, mv knows
that it must fail -- rename ("anything", "directory") will always fail.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]