Greg Wooledge (HE12026-02-20):
> hobbit:/tmp$ touch 1.foo 2.foo 3.foo
> hobbit:/tmp$ rename 's/\.foo$/.bar/' *.foo

Or:

zmv '(*).foo' '$1.bar'

Regards,

-- 
  Nicolas George

Reply via email to