You can find files or directories and execute one command recursively by the following command.
Please do not forget to the ; at the end of the command.
$ find ./ -type d | f -exec command {} \;
e.g.
-
find all directories and change their permission
$ find ./ -type d -exec chmod 750 {} \;
-
find all files and change the owner and group with apache
$ find ./ -type f -exec chown apache. {} \;