apply permissions recursively linux code example
Example 1: chmod recursive
-R, --recursive
chmod -R 755 /path/to/directory
Example 2: how to give permission recursively in linux
chmod -R u=rwx,go=rx /tofile_path
Example 3: change file recursively
shopt -s globstar
for f in **/*.t1; do
mv "$f" "${f%.t1}.t2"
done