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