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 

Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts