Search directories by name

I know I can search by filenames, using a query like:

org:holdgold12 filename:ice_cream

The results do not include directories named “ice_cream”.

How can I search for directories by name, or include directories in the above query?

Hi @prov2433,

Thanks for being part of the Community Forum! I’ll answer your question as best I can.

You can, indeed, search based on directory. Full instructions and details are here, but to do what you’re describing (return results with directories named “ice_cream”) you’d use:

org:holdgold12 path:ice_cream

There are several other options for further customizing your search, and I’d recommend reading the guide I linked to above to find out more.

Cheers!

2 Likes