Find Files By File Extension In The Terminal

Posted by Weston Ganger

Sometimes you may want to search for all files with a file extension.

Here I try to find all erb/haml/slim files, the -o means or

find . -type f \( -name "*.erb" -o -name "*.slim" -o "*.haml"\)

Related External Links:

Article Topic:Software Development - Linux

Date:February 21, 2016

Recommended Posts