DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4A8FW40t2788845 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=CMOx0eDn X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C2ACB385841D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1731079923; bh=E9QEZqvOXdfwc9UFPcCDJzl+agiq8TCackT28geVstE=; h=Subject:In-Reply-To:Date:Cc:References:To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=CMOx0eDnnP5DMy0T9xub0xU0J9Og5TlsgHkHgkiXf7tQiIjuoghcJQ0iilAsW+rkM ZFqgEMHK18sxTeX0CUq1vQCd5kF8av21Zz5LwJkjry9QXcxpXeyMUm+D+6KUqrs8UD JGbM9bVvqZQ5ZTTMArufBqWRAiOPAm8p+t5q2fpU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1C402385840C ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1C402385840C ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1731079861; cv=none; b=jP5sCQyOktjpCRr6Ak3bhhfj5/o/68g4A8OihfM70O0hifNTaRQV82hDaiLXMQpL0m5nkdONa+Ux+TP0IhSBPcPeKddkmOdLDcwIH1qO6P6bw1Nw+dWKIMj6plvz/GKd/2AIwcbKEbxR/S7v/uAm+leHnXXjnZzUHeNkNZPiAwg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1731079861; c=relaxed/simple; bh=ItzHPOamzedxHqNvXZ/J8tXjgEyMdcXDms3vazzfutI=; h=DKIM-Signature:Mime-Version:Subject:From:Date:Message-Id:To; b=KVIN8b7dXHbYROb5gY+cyaf3eqTGoHRvrQfGPTmM9Ua56X0OIf6V+SkZZz6RKCBENW58zVW83SNR7ST1VBmQMHWV5+QQLWoDO2synKArvuSIPq8AY7/5gtHl1h+bYCMrF50m5fIngv18XbyybIShfDm5ss1b4Hh2LOBmQINKILQ= ARC-Authentication-Results: i=1; server2.sourceware.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731079856; x=1731684656; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v/rA+So58vM5Pr3Ojz+2j6Z/PK1XfGNmVZPnuZyInvY=; b=pN0RWACei0IT/oSUZ2tUVXcAI4uhRRYo5GGsp1Jmg0vAXEKpWQ+onTdFE8+rub2h/Y L6M83jA1NKwktXCqjykNM+X9M9zmIxZP9rZsmkYlfxQ/FYfW9sAYWxgzMlS7YRm6tubN Jv7cZwWWt1TWPFgZc8T/SUHZxvMYZ1VmhB5uADpABHKF5r0qeW+uukYeNHLEfxKGcMWj CH389QEAkiBAY6W4uoZd1f60B4JhVrnK/lH7jJLO9xYuaaRsmjWUdjtl7gLj9lUFZtyZ AcPtPz2F04FjPvCgtbR7t2JdOpYZoTaHiuJP3HqImOmduGE0g+Q7hgivUfE8bOALni1K or1A== X-Gm-Message-State: AOJu0Yzkkr4UMMDuh+5eJhdhxZsY36dr+2ydI0e1RtXS6OJlMz+j9frF VcpoV+zvAmXMQPzPHEQ9/uyqlqfEndmS9OvdtETdA5TZ08gBnNvkx2w7gXB6htU= X-Google-Smtp-Source: AGHT+IFTNAyKe4TtjIOw7CLuMEjO+XfvhMNcqt0IZLB3AcfDoLFN8nDHeept12LMspYaFUC6cHQEGA== X-Received: by 2002:a17:906:dc93:b0:a9e:c460:ef4e with SMTP id a640c23a62f3a-a9eeff448famr322043966b.32.1731079855650; Fri, 08 Nov 2024 07:30:55 -0800 (PST) Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.9\)) Subject: Re: cygpath command no longer accepts -s (--short-name) switch In-Reply-To: Date: Fri, 8 Nov 2024 16:30:54 +0100 Cc: cygwin AT cygwin DOT com Message-Id: References: To: Soren X-Mailer: Apple Mail (2.3731.700.6.1.9) X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Dimitry Andric via Cygwin Reply-To: Dimitry Andric Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On 8 Nov 2024, at 16:20, Soren via Cygwin wrote: > > > Hello users. I have a reasonably recently installed Cygwin that I've kept > updated with setup. I am just now seeing that the provided `cygpath` > command no longer works the way it ought to. Could someone(s) confirm or > deny this? And fix it, because it is an important facility. > > $ cygpath -ua --short-name '/cygdrive/c/Users/somia/Local Settings' > [dumps you into "help"] > $ cygpath --version > cygpath (cygwin) 3.5.4 > > Appreciation in advance for your interest and help. From the usage message, I think it is intentional: -s, --short-name print DOS (short) form of NAMEs (with -w, -m only) So you cannot use -u together with -s/--short-name. As a workaround, you could try: cygpath -u $(cygpath -ma --short-name '/cygdrive/c/Users/somia/Local Settings') which would first convert to mixed style ("C:/Users/somia/LOCALS~1"), then back to unix style ("/cygdrive/c/Users/somia/LOCALS~1"). I suppose that is what you want? -Dimitry -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple