Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!cornell!rochester!pt.cs.cmu.edu!cadre!pitt!darth!libove!root From: root@libove.UUCP (Jay M. Libove) Newsgroups: comp.unix.questions Subject: Re: simple question about mv Message-ID: <210@libove.UUCP> Date: 2 Feb 89 02:04:41 GMT References: <18216@adm.BRL.MIL> Organization: Libove, Pittsburgh, PA, U.S.A. Lines: 36 From article <18216@adm.BRL.MIL>, by DEG41560@ua1vm.ua.edu (Rob Smith): > HI, > > I know this is simple, but then again, so am I. What if I want to mv a > bunch of files with the same suffix to another suffix. The following does > not work > > mv *.flip *.flop > > what does? I'm under Ultrix 2.2. I'm doing it by hand, but I'd like to > be able to do wild card renames, ala DOS. > > Thanks, > Rob. Some time back (the files are copyright 1986), mcvoy@cs.wisc.edu wrote a pair of utilities called "move" and "copy" which would work as: % ls *.flip a.flip b.flip cc.flip dddd.flip e.flip % move =.flip =.flop mv a.flip a.flop mv b.flip b.flop mv cc.flip cc.flop mv dddd.flip dddd.flop mv e.flip e.flop % I am pretty sure that it is in the comp.sources.misc or comp.sources.unix archives, but if you can't find it, then I can mail it or it can be fetched off of my machine (by prior arrangement). -- Jay Libove jl42@andrew.cmu.edu, libove@cs.cmu.edu, 5731 Centre Ave, Apt 3 sei.cmu.edu!libove!libove, jl42@andrew.BITnet, Pittsburgh, PA 15206 jl42@drycas.BITnet, psuvax1!pitt!darth!libove!libove, (412) 362-8983 or uunet!nfsun!libove!libove