X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: Date: Thu, 7 Aug 2008 14:38:30 +0300 From: "Stanislav Petrovsky" To: cygwin AT cygwin DOT com Subject: mv & hardlinks to the same .exe file problem MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 AT gnu DOT 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/