Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2001 16:08:07 -0500
From:      "Donald J . Maddox" <dmaddox@sc.rr.com>
To:        Norbert Koch <nk@LF.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: A simple shell question, How do i rename multiple files?
Message-ID:  <20010109160807.A11765@cae88-102-101.sc.rr.com>
In-Reply-To: <vzlmskh1xq.fsf@lamia.LF.net>; from nk@LF.net on Tue, Jan 09, 2001 at 10:04:49PM %2B0100
References:  <003101c07a95$b24117a0$46010a0a@sysadmininc.com> <20010109155734.A11544@cae88-102-101.sc.rr.com> <20010109160146.A11647@cae88-102-101.sc.rr.com> <vzlmskh1xq.fsf@lamia.LF.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 09, 2001 at 10:04:49PM +0100, Norbert Koch wrote:
> "Donald J . Maddox" <dmaddox@sc.rr.com> writes:
> 
> > On Tue, Jan 09, 2001 at 03:57:34PM -0500, Donald J . Maddox wrote:
> >> #!/bin/sh
> >> for i in *
> >            ^ Obviously, this should be '*.xxx' :/
> >> do
> >>   move $i ${i%.xxx}
> >> done
> 
> s/move/mv

Right you are...  Gotta learn to type slower :)


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?20010109160807.A11765>