To massively change the rights to 644 for example all php files in all subfolders:
| 
					 1  | 
						find  -type f -name '*.php' -exec chmod 644 {} \;  | 
					
or for example all pictures ending jpg 755
| 
					 1  | 
						find  -type f -name '*.jpg' -exec chmod 755 {} \;  | 
					
