🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1154

Re: How to do mv *.xyz *.abc in shell script??

#1154
From: Jon Udell
Date: Fri, 14 Sep 1990 08:16
22 lines
1188 bytes
In article <5569@minyos.xx.rmit.oz> rcoahk@chudich.co.rmit.oz (Alvaro Hui Kau) writes:


> Once in a while I want to change the names of a bunch of
> files from *.xyz to *.abc for example.


I use 

   mkcmd "mv *.xyz #.xyz" | /bin/csh -f



Our man page for mkcmd states it is from Sun Release 3.4.

--
------------------------------------------------------------------------------
Jon Udell
NCR Microelectronics Products Division      Jon.Udell@FtCollins.NCR.COM   
2057 Vermont                                uunet!ncrlnk!ncr-mpd!ncr-fc!jonu
Fort Collins, CO 80525                      (303) 223-5100 X431 
-------------------------------------------------------------------------------
Technical Details
Message-ID: <JONU.90Sep14091655@stirling.FtCollins.NCR.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-mpd!jonu
References: <5569@minyos.xx.rmit.oz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-mpd!jonu
From: jonu@FtCollins.NCR.com (Jon Udell)
Newsgroups: comp.unix.shell
Subject: Re: How to do mv *.xyz *.abc in shell script??
Message-ID: <JONU.90Sep14091655@stirling.FtCollins.NCR.com>
Date: 14 Sep 90 08:16:55 GMT
References: <5569@minyos.xx.rmit.oz>
Sender: uucp@ncr-mpd.FtCollins
Organization: NCR Microelectronics, Ft. Collins, CO
Lines: 22
In-reply-to: rcoahk@chudich.co.rmit.oz's message of 7 Sep 90 00:37:14 GMT