Find files with certain extensions

#Searches the current directory and deeper for several extensions. In this example both files mathing ‘php’, ‘html’ and ‘tpl’ match the search.
find ./ -regex “.*\(php\|html\|tpl\)$”

Tags:

Leave a comment