delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/02/28/07:39:31

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:cc:subject:date:message-id
:content-type:content-transfer-encoding:mime-version; q=dns; s=
default; b=qDoNfMaY+/RNoNpZk2zGdi8GZgweYfoTFXobgO4SqcUDqsdN1pur/
vIhNpJPCSZo4pmaK+Vk7iKDGtqjw3yRcIFwaDYWhCufDswAZ2RIGKc3gXHz5bf5n
0gvOaWGQ75g7mfHz4QT3NbUzBLfY2kw7KJt7UUDmV90HhgT2xarDcc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:cc:subject:date:message-id
:content-type:content-transfer-encoding:mime-version; s=default;
bh=BGdcWK3FMd+dLD27R0P65oxX0TU=; b=dv09HVolC8w54KP3hiSCtFU00nm1
Y4X+vfAUA/5+msI5+gMnVBesteTdyAms0vX0AVLZSx9wH5wUfmSKOXQW4NkQwsa5
7GAvKKD5sz244UcqIbH639r+Lfa5bu6PAHRAJjHrRRAdsg2s8D/re7cVFu7eDycg
Aw1twmtpdGMH2+U=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 spammy=ren, altered
X-HELO: EUR03-AM5-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YEgPBR3wLXLxYJvIqQ2xBNOgAyCZXL8HTOUAT6OHtW7LQkWRnRQu6B8IopOM43fEDTl+P+bPayvZ5uYw8xhzEWZDwpCyf2N0v8mWzmyPlZyD2IgGZMJG7DjfjZLLqKIAUJcN9iGqCwda3TJiK0a7T/R3ZVSzo5YiG2oVDskliq+mMMBmHgrQR36o0gofP+STtmNCyYRxg1V6E957dqLGzHdMqkSf0TdWzGpZnlgm4/pnJsSTM3RI5kmIljs8k5wsqiBYdOqAh52C4uqsar0WaLQOM1FSRtjWyWb3fuNAG7BPS77XHRkTeAKmIzzwuKx1JtZPChF9VRv23cMu1B0CWg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VNTi0wtonLzaxCCDGkKxDKPyW9VpjGz0Yb2nC4KR80M=; b=S8dIyNpQ7CdN5/HTsF1eiTzehgL+HH9uBwWmbQsw7IeRaUYW+qcu1pEt5AQLJXCHvyO3uBmTZkz7WrUZxOaXDqvAvjTYUYXT5rWwQKjzStK//4hq17OCY6uvMUjJ6ey4c6k+xKf+OvWPgSezOFVX6gh/r9Gax+cpqzlflmBzd4ycAgYkAqVdlquHrBb9UAlZJLAUpa5bj2gat+7nwgbYG2eLOk1OB8DSe0aItoroVQh2ScQzLqXsqsITJggj65+uWXWt+g1CigrmEsQxnjcJSKSGlZ0gpqw0mRp3YaFdjMknGsEMS+jCIOi3i+aO81AVcfyjjEvcVijtJNmqD4Cgrg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VNTi0wtonLzaxCCDGkKxDKPyW9VpjGz0Yb2nC4KR80M=; b=iwgqCmgokVIqpFdHWvDBbTjZ0UguSWSGwoOn0NZxiF5A8Rj1tBC1ZiNI7sue69TFkuaz8hE5bHvN8Gj0xNwnXenJ2MUWAv5afcOAK/PFYslL5ii/v0tTEjxMSwNTXifIpx4U4wqlyGlzwJl4dqaFKtPROiB5rLNyy9xT0mfKq3T64+zIOlfe+PBVHeqcuw6LylF1LAXY0BUyzVy6/+g4dWJY1OTU3QZyWFpEN3oN4c2vm1ZFElnqq3zp218OLE80Isal2wTEFMt7LVlQ6QGuMtu1SSTJRK19EO/EQLY36XL/rxbaTnAtfk1uGerKl/+3NMJ9qKXsmnUFO7+5W4ZfBw==
From: Fergus Daly <fergusd84 AT outlook DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
CC: Fergus Daly <fergusd84 AT outlook DOT com>
Subject: Has rename syntax changed?
Date: Fri, 28 Feb 2020 12:38:35 +0000
Message-ID: <AM6PR03MB5282DB8DBC61B8331D880434A4E80@AM6PR03MB5282.eurprd03.prod.outlook.com>
x-ms-exchange-antispam-messagedata: ZjsPelmcC7RGOjoBQdY/uW45RRWiKUkPMISPk/X6Npw/pxpPMhiEhYD4W8MAWkxmfhXBywZPICV5y1jAurXlIauKv+fUWjL734ab34wFuhi+aRnoNeAQcFOaKnYbLKLl1pxZ0BZtNyRMg44y2a/CRw==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 01SCdCbm002366

I am almost certain that the command
$ rename "anything" "AnyThing" *.ext
would alter the string from lc to uc as shown, anywhere it occurred in any filename in *.ext in the current directory.
What I remember as past behaviour now fails, leaving he filename unaltered.
(Failure in much the same way as mv would fail if the similar attempt was made.)
(Good old DOS command rename (or the abbreviation ren) used to achieve multiple-rename in an easy manner that just eludes bash.)
Anyway: has something altered (and quite recently, i think), or am I just mis-remembering the versatility of the command rename?
Fergus  

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