If you want a one-liner, you could use the rename command (implemented in Perl) that is already installed on many systems.
In reply to Re: renaming files by Eliya in thread renaming files by sueme