Date: Wed, 31 Jan 2001 12:41:13 GMT From: Cliff Sarginson <cliff@raggedclown.net> To: Ana Romero <anar@ees2.oulu.fi>, Questions FreeBSD <questions@FreeBSD.ORG> Subject: Re: fast answer is needed about commands Message-ID: <E14NwZV-000GqM-00@post.mail.nl.demon.net>
next in thread | raw e-mail | index | archive | help
for i in *-new do mv $i `echo $i | sed "s/-new//"` done > > HI!! > > I have many files named like XXX-new which I want to move to XXX. I > mean, > > mv XXX-new XXX > > > Can I do it in once in some way? I mean, I would like to do > > mv *-new * > > but it is not allowed > > Thank you, > > Ana > > > > > _________________________________ > > Ana Romero > Centre for Wireless Communications > PL 4500, Tutkijantie 2 E, FIN-90014 > University of Oulu > Oulu, Finland > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E14NwZV-000GqM-00>