Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2001 13:10:21 GMT
From:      Cliff Sarginson <cliff@raggedclown.net>
To:        Ana Romero <anar@ees2.oulu.fi>, Cliff Sarginson <cliff@raggedclown.net>, Questions FreeBSD <questions@FreeBSD.ORG>
Subject:   Re: fast answer is needed about commands
Message-ID:  <E14Nx1h-0004Ra-00@post.mail.nl.demon.net>

next 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.
> 
>Be sure the single quotes before echo and at the end of the line are
back quotes ..usually below the ~ on a US keyboard.. (top left)
Cliff

I know it does something ..I tested it :)

Cliff
> 
> 
> 
> 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?E14Nx1h-0004Ra-00>