I have a huge directory in which I'd like to recursively chmod. The problem is that I want 755 for all directories and 644 for all the files. The:
chmod --recursive 755 *
command gives everything 755 permission.
Can anyone please help me in accomplishing this purpose?