From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29761 invoked by alias); 18 Mar 2012 20:41:11 -0000 Received: (qmail 29747 invoked by uid 22791); 18 Mar 2012 20:41:10 -0000 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 Received: from mail-pz0-f43.google.com (HELO mail-pz0-f43.google.com) (209.85.210.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 18 Mar 2012 20:40:57 +0000 Received: by dadq36 with SMTP id q36so4637084dad.2 for ; Sun, 18 Mar 2012 13:40:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.240.3 with SMTP id vw3mr33570541pbc.110.1332103256855; Sun, 18 Mar 2012 13:40:56 -0700 (PDT) Received: by 10.142.254.8 with HTTP; Sun, 18 Mar 2012 13:40:56 -0700 (PDT) Date: Sun, 18 Mar 2012 20:41:00 -0000 Message-ID: Subject: Broken symlinks after rsync From: Leo Alekseyev To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-03/txt/msg00519.txt.bz2 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