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:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=AHDdqvEFvfCW4Wj7F8roANQL79OBF oyNNsc1YvbZiocaxQPSOH3s8IZgOGgd4tOK+7RLOkSvHo+Zt9o51of4/pL29xSKi ovqCV4xV1XrVJ8+tWp2GE0JORNbxRgNlKjsezIXbTodME6sPC+G0eA6PvAzdFEbb t8lGnx55Wp2dDU= 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:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=DBV3GeeslH7pJC1WxrWJhcCYIdo=; b=dcW i/7/v6taljk1yuiLHpj4C514hbCXg1DY3o3A+06KOInVGUnANkepiuvZpF6emLP4 SPAqtfJoaW7anou2Hw5QFjDSGwEjK1M+jLjSgv8sEhRCMOt2GWJT03Wt9JqVqYr3 rcroXYaYtSD+6OPDUSFGICYSXBCkQeluJsdBgmQQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=toggle X-HELO: EUR05-DB8-obe.outbound.protection.outlook.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kAta9U0jYrOyStFtVVHVeu9A6WOGTgiur/v1GF0G5OILYuO7hjw8OPzy91ooPc/XzLoLDu1hYxZ2iqx/pgNOVqzERs96tW7f67HqjNimGdasjw25g6LxQFR5pr/ZG4UYvsKsTSdRxcCgFKbm8RD2Vzp1SDwYZfkhwhF9MMZq37rSiGG/eZaGSVA7a+mU6FONo1RM7FApSyrQitWD8XCKA5pH72AOCUtVrSiq6FtkUTlzg1E8GPbYQ9rBTjJx/yB4fhegcD7Md+Zp6TbinakA7xJ+PDQMNFlW3CWFKn1mZdGlaYZyb7nwlnGfxyX4VH3FAo8mQKHMdxHm4DLepVyylQ== 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=0PjxAiEBWCeTv8zYfGKKzvVvomM+ArqyelHXK8C7BXA=; b=FdzDV6/HBOwzwgSgXBbt8hp6g3ffR7pb1VB9VRJ/jMOaqja+SlMfV3Gq8OyDFSHVlyb511YdLzy7evCOLJV1XvL9f9RzzQa0wwjG1mJOeV6sN8oCiK0KKPWoXugqVN6W41plx2Z79FwO20aOnJ0ZYkWFYsjllaG3efN5yf0TFm7kCUgxpGCF1I67kiRO4pEXRp+S9qcQJswT5kG58YsCIjoi7FCae/jN9xJJqsQxSItWD8SHCTmJYgVKiZXAvpF8a2WWJZkwL4MvOmOZKmEd62WvRKM4R28wi0+zMDAH/rwD/Uld7XFYGzvmuWEMDm6dSWP022SEp6butr/knNm1CQ== 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=0PjxAiEBWCeTv8zYfGKKzvVvomM+ArqyelHXK8C7BXA=; b=CXkJbsgffj5C/cYm/y6kn+aWp/tkuSHeHhLRrUPm8bJtDt6scp5KtBorcRe9f3pJJtWmn49YmQah+jcDAPT8Lc4TmqVFE7z2PGPh41+vWUHpa0ghYeDoi/KN5hmITCqSwCJPrR3JlhPCic6MwTdnuTrQRjlo8ssTSpTsOX34ByG5lJLyeegNd+2H0CF2MXbvmMUE+iiD8UQTCyK4y0r5bRqJrmrNFJ21zoLxXTMs4WINxCL3J+/IGfu/ruVT/Z9wKaMj+qh7JEhkdyQAgrw6kmBatcGoF8BGmHjoUZztWDqFfVCSz1IhHJL2RCxoMShoNR5P7SLp8EROzLYY99zYcg== From: Fergus Daly To: "cygwin AT cygwin DOT com" CC: Fergus Daly , Lee Subject: RE: Has rename syntax changed? Date: Sat, 29 Feb 2020 08:27:27 +0000 Message-ID: References: In-Reply-To: x-ms-exchange-antispam-messagedata: pzgD5sFIZ3Xh7UXB8CwR54MSXs75YZdU79PPGZGh/NB3qkbVlRDx63506OLi5NRD0T5UaCRibCCGhIkl9xOgt4FM3HiUbjxeEByryUo+pIuwNppZsnNDjzfh1AnFSueVwrQSK0lPo7tjuOQezb+npA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 01T8S7pv028885 > $ rename "anything" "AnyThing" *.ext > What I remember as past behaviour now fails, leaving he filename unaltered. >> Try it with the '-v' option So I did: $ touch "This is the test file" $ ls -al -rw-r--r-- 1 0 Feb 29 08:10 This is the test file $ rename -v " the " " The " * `This is the test file' -> `This is The test file' $ ls -al -rw-r--r-- 1 0 Feb 29 08:10 This is the test file Filename unaltered, contrary to verbose confirmation. Just checking: in DOS Command Prompt box, dir also shows filename unaltered. BTW failure consistent on both FAT32 and exFAT filesystems; but the rename command _works_as_expected_ on NTFS. I get the subtle distinctions between FAT (all versions) and NTFS platforms; but, all the same, the rename command surely worked on *FAT* in the past - I would have noticed if it didn't because I toggle lc <> UC quite a lot. 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