how about batch rename using regex?

"Tim Hunter" <cyclists / nc.rr.com> wrote in message
news:pan.2003.01.02.15.08.26.64569 / nc.rr.com...
> On Fri, 03 Jan 2003 05:10:29 +0900, coma_kille wrote:
>
> > Hi,
> >
> > Is there some easy way to rename directories from Ruby code?
> >
> > Like Dir.rename(old, new)?
> >
> > Regards,
> >
> > Karsten
>
> File.rename(old, new)