How to look for a material in Assets folder and sub-folders?

Maybe I can’t figure this out because it’s late and I can’t think straight, but how do I look for a material in the Assets folder and all its sub-folders?

For example, I want to return a list of all materials named “Black” found in my project’s folder(s), so I know not to create it if it already exist somewhere else.

Thanks for your time!

Take a look at c# File and Directory classes (System.IO). Note that this will only work in the editor.