Find Files By File Extension In The Terminal

Posted by Weston Ganger on February 21, 2016

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:

Posted in Linux and Tagged with bash command-line find 

Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts