How to execute an action on a set of file

This will execute the comamnd dos2unix on all files under the current directory

find . -type f -print -exec dos2unix {} ;