Path: utzoo!attcan!uunet!lll-winken!ames!haven!adm!xadmx!moss@BRL.MIL From: moss@BRL.MIL (VLD/VMB) Newsgroups: comp.unix.wizards Subject: Re: simple question about mv Message-ID: <18230@adm.BRL.MIL> Date: 27 Jan 89 20:45:54 GMT Sender: news@adm.BRL.MIL Lines: 11 < 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 Well, this should work under a Bourne shell: $ for i in *.flip > do mv $i `basename $i .flip` .flop > done $ -moss