Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2001 15:06:46 +0200 (EET)
From:      Ana Romero <anar@ees2.oulu.fi>
To:        Cliff Sarginson <cliff@raggedclown.net>
Cc:        Questions FreeBSD <questions@FreeBSD.ORG>
Subject:   Re: fast answer is needed about commands
Message-ID:  <Pine.GSO.4.30.0101311506070.22753-100000@stekt56>
In-Reply-To: <E14NwZV-000GqM-00@post.mail.nl.demon.net>

next in thread | previous in thread | raw e-mail | index | archive | help



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.30.0101311506070.22753-100000>