on-internet
← Community

Can the Mac file-picker filter by the whole file name? [duplicate]

Stack Overflow ·

I know you can set the Info.plist to match files by extension, MIME type, or UTI. Is there a way to add custom matching, like adding a filter function that looks at the entire name? Edit: This query was flagged as a duplicate. I can't reword the question because these queries aren't the same at all. The other query is about how to select a folder/directory; this one is about filtering by criteria not already given by Apple. For me, the criterion is exact filename, which applies to both regular files and directories. (As examples: "maildir" for a directory, and "mbox" for a regular file.)

Comments

Sign in or sign up to comment and upvote.

No comments yet.