find
-exec
View original Gist on GitHub
To find some files and execute an additional action on them, use -exec:
find . -name *.rb -exec md5 -s {} \;
Note: you need \; otherwise you’ll get an error about no terminating ";" or "+"
\;
no terminating ";" or "+"