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



Send Me A Message

I would love to get in touch and talk about your next project. Feel free to send a message and I will get back to you shortly.

Get Connected