Subject: Re: renaming a group of files
To: None <sam@linux-info.net>
From: Marko =?iso-8859-1?Q?Sch=FCtz?= <MarkoSchuetz@web.de>
List: netbsd-help
Date: 12/29/2002 14:06:11
From: Sam Carleton <sam@linux-info.net>
Subject: Re: renaming a group of files
Date: Thu, 26 Dec 2002 22:57:58 -0500
> On Thu, Dec 26, 2002 at 07:52:48PM -0800, Conrad T. Pino wrote:
> > Syntaxes and methods vary by which shell your using. Please
> > name your favorite poison:
> >
> > Bourne shell /bin/sh
> > C shell /bin/csh
> > Korn shell /bin/ksh
>
> Conrad,
>
> sorry about that, it is csh, well really tcsh:)
`jot` is a wonderful little program I use in this case:
jot 12 1 | while read i ; do mv file$i.txt TheTestFile$i.txt ; done
Marko