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:
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
Want me to help develop your next Ruby-on-Rails project or application?
Contact Me