X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=3.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Sun, 18 Mar 2012 16:40:56 -0400 Message-ID: Subject: Broken symlinks after rsync From: Leo Alekseyev To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 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 I recently tried to transfer the cygwin directory from one machine to another by rsyncing the source to an external drive, and rsyncing again from external drive to the destination. As a result, all my symlinks got corrupted -- they are now Unicode files with the path text. In particular, if I examine the contents of a valid and an invalid symlink files in Emacs, they appeare identical (!\377\376 followed by the unicode path string). However, one works with cygwin on the new machine, and the other doesn't. Both machines are running Cygwin 1.7. Any thoughts on whether this can be fixed without a complete reinstall / recreation of every link? --Leo -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple