How to show files using wildcard ?

Can someone point me to the exact step(s!!) required to show a list of files in a givenfolder + sub folders.

Coming from Windows I'm surprised at how non-intuitive this is in Finder (I'm assuming I'm doing something wrong, but I have no idea what).

I'm writing some code, and I want to see all files with the extension .cs from the projects rot level.


Doing a search for *.cs doesn't give me anything. Searching about how todo this with Finder doesn't really give me any specific clear instructions (again, this is just a plain search with wildcard).


I know how to do it in the terminal, but how can I do this in Finder. If this is not supported in finder, then which app should I load which gives me this

Mac mini, OS X El Capitan (10.11.2)

Posted on Dec 28, 2015 1:28 PM

Reply
3 replies

Dec 28, 2015 1:52 PM in response to jkristia

Open Finder. In the upper-right corner, in the search bar, type ".cs" minus the quotation marks. Below the search bar, you should see a + sign. Click it. Below that you should see a toolbar. On the left side of it, you should see "Kind is Any." Click "Kind" and scroll down to "Other." Select it. You should now see a Search Attribute dialog box pop up. Scroll down until you see "File Extension." Select it, then press OK. In the blank box that now appears after the word "is", type ".cs", again minus the quotation marks. Press Enter.

Dec 28, 2015 1:52 PM in response to pinkstones

Thank you for the quick answer both of you.


I completely missed the - other - extension. It is well hidden

I see, so if I want to search for file main*.cs then I actually have to add a

  • type extension = cs
  • name contains (or starts with) = main


and leave the search field blank, as it seems like it automatically includes the content of the files in the search.


Now, next question, is it possible to enable the path in the result, so it shows 3 columns

filename, modified, path

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to show files using wildcard ?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.