find . -name "*.t1" -exec rename 's/\.t1$/.t2/' '{}' +
shopt -s globstar for f in **/*.t1; do mv "$f" "${f%.t1}.t2" done