To find all files with the extensions .yaml or .yml recursively in Unix / Mac OSX, you can use the find command with this pattern: find . \( -name '*.yaml' -o -name '*.yml' \)