[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'mv' (fileutils-4.1) cannot rename hard link files.
From: |
Jim Meyering |
Subject: |
Re: 'mv' (fileutils-4.1) cannot rename hard link files. |
Date: |
Thu, 14 Aug 2003 11:48:03 +0200 |
Thank you for the report. fileutils-4.1 is well over two years old.
You may want to use a newer version of those tools.
mv of coreutils-5.0.90 (and of coreutils-5.0) works fine:
(coreutils is the union of fileutils, textutils, and sh-utils)
$ mkdir tmp; touch A tmp/A tmp/B; ln A B; ls -ogi A B
2262340 -rw-r--r-- 5 0 Aug 14 11:43 A
2262340 -rw-r--r-- 5 0 Aug 14 11:43 B
$ mv -f A B tmp
$ ls -ogi tmp/*
2262340 -rw-r--r-- 5 0 Aug 14 11:43 A
2262340 -rw-r--r-- 5 0 Aug 14 11:43 B
YOKOTA Yoshinori / £Ä ÁÁ <address@hidden> wrote:
> I use 'mv' of fileutils-4.1 on Debian GNU/Linux woody.
> I realized that 'mv' cannot rename hard link files.
...