Advertisements
There is a neat way using a bash one liner to change attributes of all the files from a path and sub paths that match a criteria.
As an example following line makes all the script files from a path and sub paths executable.
find . -name '*.sh' -type f | xargs chmod +x