how to change the permission for a file in linux recursively code example
Example: change file recursively
shopt -s globstar
for f in **/*.t1; do
mv "$f" "${f%.t1}.t2"
done
shopt -s globstar
for f in **/*.t1; do
mv "$f" "${f%.t1}.t2"
done