From owner-freebsd-questions Wed Jan 31 4:41:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 3FFA837B491 for ; Wed, 31 Jan 2001 04:41:14 -0800 (PST) Received: from [195.11.243.26] (helo=Debug) by post.mail.nl.demon.net with smtp (Exim 3.14 #4) id 14NwZV-000GqM-00; Wed, 31 Jan 2001 12:41:13 +0000 To: Ana Romero , Questions FreeBSD From: Cliff Sarginson Subject: Re: fast answer is needed about commands Date: Wed, 31 Jan 2001 12:41:13 GMT X-Mailer: www.webmail.nl.demon.net X-Sender: postmaster@btvs.demon.nl X-Originating-IP: 192.250.25.251 Message-Id: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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