Jump to content

Find folders with exact name only


Recommended Posts

I would like to search for folders by their exact name, and exclude other folders starting with or otherwise containing the search phrase.

 

Say I have folders:

Object

Object 1

Object 12

 

And I have files:

Object

Object 1

Object 12

 

I want to search for "Object" and return all folder(s) with the exact name "Object", regardless of their paths/parent folders. I don't want any files returned and I don't want folders "Object 1" "Object 12".

 

I can currently get all folders containing "Object" using a File Filter limited to File Type public.folder with Words and Split unchecked in the Field tab. Or I can check those boxes and the result will be limited to folders starting with "Object" but will also pull in "Object 1" "Object 12" etc.

 

I thought there would be an obvious way to limit the results in the Value of the Field tab, but I'm not finding a way to make that work.

 

Thanks

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...