for f in *;do mv $f ${f/test/prod};done
An alternate way to using a rename command, rename 's/dgd7_tip/remarkup/' * (from http://definitivedrupal.org/node/90/ )