#!/bin/sh
for i in *.$1;do mv $i `basename $i .$1`;done