Noah Friedman <[EMAIL PROTECTED]> writes:
| It used to be that if you typed "mv foo foo" and foo was a directory, you
| would get an error. Now it recursively copies the contents of foo into
| foo/foo! This is very frustrating; one of the common cases where this
| bites me is that I have a directory full of files with a prefix of "foo", I
| create a directory simply called foo, and then want to do "mv foo* foo".
| With previous versions of the fileutils, I would get an error saying that
| the directory foo/ could not be moved into itself, and that's fine; it
| would still move the rest of the files. But now something bad happens with
| respect to the directory foo itself.
Hi Noah.
This bug is fixed in the test releases. Here's the latest:
ftp://alpha.gnu.org/gnu/fetish/fileutils-4.0k.tar.gz
E.g.,
$ mkdir j
$ mv j j
mv: cannot move `j' to a subdirectory of itself, `j/j'
[Exit 1]