Phillip Susi <[EMAIL PROTECTED]> writes:
> Andreas Schwab wrote:
>> "Chris Moore" <[EMAIL PROTECTED]> writes:
>>
>>> $ mv dir ..
>>> mv: cannot move `dir' to a subdirectory of itself, `../dir'
>>
>> With coreutils 6.9 yo
Andreas Schwab wrote:
"Chris Moore" <[EMAIL PROTECTED]> writes:
$ mv dir ..
mv: cannot move `dir' to a subdirectory of itself, `../dir'
With coreutils 6.9 you'll get "Directory not empty".
That also seems incorrect. Shouldn't the error be
"Chris Moore" <[EMAIL PROTECTED]> writes:
> $ mv dir ..
> mv: cannot move `dir' to a subdirectory of itself, `../dir'
With coreutils 6.9 you'll get "Directory not empty".
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux
18:36 ..
-rw-r--r-- 1 chris chris 0 2007-08-14 18:37 x
$ mv dir ..
mv: cannot move `dir' to a subdirectory of itself, `../dir'
$ rm ../dir/x
$ ls -al ../dir dir
dir:
total 20
drwxr-xr-x 2 chris chris 4096 2007-08-14 18:37 .
drwxr-xr-x 3 chris chris 4096 2007-08-14 18:36 ..
-rw-r--r-- 1 c