mmv

NAME
        mmv

SYNOPSIS
        mmv PATTERN1 PATTERN2

DESCRIPTION
        rename all file of type PATTERN1.* to PATTERN2.* files

        For example:
          mmv File1 File2
        will rename File1.a into File2.a, File1.b into File2.b, etc.

Use case:

 $ touch toto1.c toto1.o toto1.exe
 $ ls -l toto*
-rw-r--r-- 1 gmonard users 0 Apr 17 09:55 toto1.c
-rw-r--r-- 1 gmonard users 0 Apr 17 09:55 toto1.exe
-rw-r--r-- 1 gmonard users 0 Apr 17 09:55 toto1.o
 $ ../mmv toto1 toto2
 $ ls -l toto*
-rw-r--r-- 1 gmonard users 0 Apr 17 09:55 toto2.c
-rw-r--r-- 1 gmonard users 0 Apr 17 09:55 toto2.exe
-rw-r--r-- 1 gmonard users 0 Apr 17 09:55 toto2.o