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

Jon Udell jonu at FtCollins.NCR.com
Fri Sep 14 18:16:55 AEST 1990


In article <5569 at minyos.xx.rmit.oz> rcoahk at 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 at FtCollins.NCR.COM   
2057 Vermont                                uunet!ncrlnk!ncr-mpd!ncr-fc!jonu
Fort Collins, CO 80525                      (303) 223-5100 X431 
-------------------------------------------------------------------------------



More information about the Comp.unix.shell mailing list