 <p>Some editions of find, mostly on linux systems, possibly on others aswell support -regex and -regextype options, which finds files with names matching the regex.</p> <p>for example</p> <pre><code>find . -regextype posix-egrep -regex ".*\.(py|html)$" </code></pre> <p>should do the trick in the above example. However this is not a standard POSIX find function and is implementation dependent.</p>