www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <4A26B4DD.9070205@cygwin.com> |
References: | <366c6f340906030948u3c5d3c48v793842b91288f540 AT mail DOT gmail DOT com> <4A26B4DD DOT 9070205 AT cygwin DOT com> |
Date: | Wed, 3 Jun 2009 15:45:55 -0500 |
Message-ID: | <366c6f340906031345p2eaf2b4dwcaa15acd4ef055de@mail.gmail.com> |
Subject: | Re: How to change the file mode to link? |
From: | Peng Yu <pengyu DOT ut AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Wed, Jun 3, 2009 at 12:37 PM, Larry Hall (Cygwin) <reply-to-list-only-lh AT cygwin DOT com> wrote: > Peng Yu wrote: >>> >>> No. =A0Shortcuts created with Windows contain more and different > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 ^^^^^^^^^^^^^^^^^^ >>> >>> information than Cygwin symlinks. =A0If you need a symlink, create it >>> under Cygwin. >> >> If I am willing to loose the additional information, is there a way to >> convert a windows link to a cygwin link? > > Getting rid of the "additional information" addresses the "more" part > above. =A0You need to handle the "different" part as well. =A0But why do > all that work yourself when "ln -s" does it for you? =A0OK, let's make > this question rhetorical. ;-) Suppose I have many links that are generated by windows already and I want to convert them to cygwin links. To use 'ln -s' I have to have a way to automatically figuring what the target of a window link, but how? Is there such a cygwin command to extract the link from a windows link. Regards, Peng -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |