Recursively Set +x for Only Directories
Set the executable bit for directories (and not files) using +X (upper case) instead of +x (lower case).
chmod g+rX *
Set the executable bit for directories (and not files) using +X (upper case) instead of +x (lower case).
chmod g+rX *