set persmission rescursivly code example
Example 1: chmod recursive
-R, --recursive
chmod -R 755 /path/to/directory
Example 2: change file recursively
find . -name "*.t1" -exec rename 's/\.t1$/.t2/' '{}' +
-R, --recursive
chmod -R 755 /path/to/directory
find . -name "*.t1" -exec rename 's/\.t1$/.t2/' '{}' +