This is the mail archive of the
cygwin
mailing list for the Cygwin project.
mv & hardlinks to the same .exe file problem
- From: "Stanislav Petrovsky" <stasptr at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 7 Aug 2008 14:38:30 +0300
- Subject: mv & hardlinks to the same .exe file problem
Hello.
looks like mv cannot move second hardlink to the same .exe file in
single command:
> mv --version
mv (GNU coreutils) 6.10
>mkdir testdir1
>echo test > file1.exe
>ln file1.exe file2.exe
>mv file1 file2 testdir1
mv: cannot remove `file2': No such file or directory
The same mv command with full file names works correctly
>mv file1.exe file2.exe testdir1
as .exe adding is a cygwin feature - issue posted here.
I found similar, but very old issue in web:
http://www.mail-archive.com/bug-fileutils@gnu.org/msg00221.html
( the same issue, but w/o .exe )
--Stas
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/