Today I was trying to find source files in a development project. These files have the extensions .java, .ts and .less.
I realized I never needed to do such a search before, and here's how I did it:
find . -regex ".*\.\(ts\|java\|less\)"
Let me know if you find something better.
No comments:
Post a Comment