Use of Wild Card on a MAC

In DOS if you type at the curser

*.* all files in the current directory will be listed

*.doc all files with a .doc extension will be listed

dumb*.wav all files with dumb in the beginning of the name (no genre implied)


Is there an equivalent for searching on a MAC, in finder? some other place?

Thanks

Geoff Shapland’s iMac 27"

Posted on Aug 16, 2020 5:05 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 17, 2020 6:35 AM

Finder is completely ignorant of the wildcard concept, and as you have been directed, you need to use the Terminal application to expose the modern UNIX operating system command-line and its wildcard support.


Apple's Spotlight does not allow literal (*) wildcards, but does permit implicit wildcarding based on how one uses the reserved, name keyword:


kind:pdf name:abc


will find every PDF whose filename has the string "abc" in it.


name:.pdf


will find every filename whose extension is pdf.


kind:pdf (name:out OR name:impose)


will find every PDF filename whose filename contains the case-insensitive strings of out or impose.


kind:pdf keyword:processed


Find any PDF that contains the case-insensitive keyword processed.


Apple has an article, Narrow your search results on Mac, that discusses using Spotlight key words.

Similar questions

5 replies
Question marked as Top-ranking reply

Aug 17, 2020 6:35 AM in response to ShappyOz

Finder is completely ignorant of the wildcard concept, and as you have been directed, you need to use the Terminal application to expose the modern UNIX operating system command-line and its wildcard support.


Apple's Spotlight does not allow literal (*) wildcards, but does permit implicit wildcarding based on how one uses the reserved, name keyword:


kind:pdf name:abc


will find every PDF whose filename has the string "abc" in it.


name:.pdf


will find every filename whose extension is pdf.


kind:pdf (name:out OR name:impose)


will find every PDF filename whose filename contains the case-insensitive strings of out or impose.


kind:pdf keyword:processed


Find any PDF that contains the case-insensitive keyword processed.


Apple has an article, Narrow your search results on Mac, that discusses using Spotlight key words.

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.

Use of Wild Card on a MAC

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