#!/bin/sh find $1 -type f | while read FILE; do newfile="$(echo ${FILE} |sed -E 's/-[^\.]{11}\././')" ; mv "${FILE}" "${newfile}" ; done;