How to chmod 755 all directories but no file (recursively) ?
Inversely, how to chmod only files (recursively) but no directory ?
chmodpermissions
How to chmod 755 all directories but no file (recursively) ?
Inversely, how to chmod only files (recursively) but no directory ?
Best Answer
To recursively give directories read&execute privileges:
To recursively give files read privileges:
Or, if there are many objects to process:
Or, to reduce
chmod
spawning: