Jump to content

Is there an existed workflow that using full-path search?


Recommended Posts

I want to search a file on my Mac according to its filename and its parent folder's name. 

 

For example, I know the target filename is 'aaa' like, and it is contained by a 'bbb' like named folder:

-document
    -bbb_folder
      -sub_folder
         aaa_file.pdf

If I search the file in Alfred via:

find bbb aaa

There will be no results at all.

 

 

Actually, this target file can be found by the following command in the terminal:

mdfind aaa | grep -i bbb

It is said that, the search engine of Alfred is based on Spotlight, however Spotlight treats the path in a special way, it can't be used in constructing searches.

 

So, I wonder, is there an already existed workflow that can find a file using filename and folder name?

 

Thanks so much!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...