Command Set/Change Permissions Recursively Only to Directories and Sub-directories but Not to Files on Mac Linux Unix

Open a Terminal window and Execute:

find path/To/Root/Directory -type d -print0 | xargs -0 chmod 755

(Reference)

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer