From owner-freebsd-questions Wed Jan 31 5: 7:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from oulu.fi (ousrvr.oulu.fi [130.231.240.1]) by hub.freebsd.org (Postfix) with ESMTP id C8D7837B6B9 for ; Wed, 31 Jan 2001 05:06:51 -0800 (PST) Received: from ee.oulu.fi (ees2.oulu.fi [130.231.61.23]) by oulu.fi (8.8.5/8.8.5) with ESMTP id PAA26071; Wed, 31 Jan 2001 15:06:47 +0200 (EET) Received: from stekt56 (stekt56 [130.231.60.96]) by ee.oulu.fi (8.11.1/8.11.1) with ESMTP id f0VD6kI23642; Wed, 31 Jan 2001 15:06:46 +0200 (EET) Date: Wed, 31 Jan 2001 15:06:46 +0200 (EET) From: Ana Romero X-Sender: To: Cliff Sarginson Cc: Questions FreeBSD Subject: Re: fast answer is needed about commands In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok, I make this command and nothing happens,do I need anything else to execute it? As you can see I am a bit new in freebsd. On Wed, 31 Jan 2001, Cliff Sarginson wrote: >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