This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]