X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <CAK+PQdiH4-OJ=1tYa6ca7V2efJkkrF76aLsHgmnZf1LCt9jBog@mail.gmail.com>
References: <CAK+PQdiH4-OJ=1tYa6ca7V2efJkkrF76aLsHgmnZf1LCt9jBog@mail.gmail.com>
Date: Mon, 19 Dec 2011 07:18:33 -0500
Message-ID: <CAK+PQdgDQb+aUqzvB-ckPaL8ZF27aNcQnE15nSYJvoWFybhpoA@mail.gmail.com>
Subject: Re: rsync of windows shortcuts creates foo and foo.lnk - never fully synchronizes
From: Fred Wheeler <fred.wheeler@gmail.com>
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: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pBJCJ0eC010142

I just tried something different on a hunch.  The problem still occurs
when this mkshortcut command is replaced by a simple "touch
winshortcut.lnk".  So the problem I'm having seems to be due to the
filename extension, not the contents of the file.  Files with other
extensions work fine.

> # create a shortcut
> cd /tmp/A/foo
> mkshortcut \
>  --arguments="mintty" \
>  --name="winshortcut" \
>  --workingdir="$HOME" \
>  /bin/run

-Fred

--
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


