Package: coreutils
Version: 5.97-5
Severity: normal

hoi :)

I tried to move all files from one directory tree into another tree with
a similiar directory structure.  But "mv" gave up, complaining about
"cannot move into own subdirectory", which confused me.

Here a simple sequence for reproduction:

        $ mkdir -p 1/a/b 2/a/c
        $ mv 1/a 2/
        mv: cannot move `1/a' to a subdirectory of itself, `2/a'
        $ rmdir 2/a/c
        $ mv 1/a 2/
        $

I expected mv to move 1/a/b to 2/a/b and then remove 1/a
(no need to move 1/a, as 2/a already existed)

Thank you for any help.

-- System Information:
Debian Release: testing/unstable
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'unstable'), (500, 'stable'), 
(1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-2-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages coreutils depends on:
ii  libacl1                      2.2.41-1    Access control list shared library
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libselinux1                  1.30.27-3   SELinux shared libraries

coreutils recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to