delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/19/07:19:02

X-Recipient: archive-cygwin AT delorie DOT 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 AT mail DOT gmail DOT 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 DOT wheeler AT gmail DOT com>
To: cygwin AT cygwin DOT com
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
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019