Python's glob module lets you search for files matching a particular pattern. For example glob.glob("*.jpg")
would list all jpegs in the working directory.
A more complex example using the double asterisk **
syntax to search all subfolders of 'pics' for cat photos:
glob.glob("pics/**/*cat*.jpg", recursive=True)
Is there any similar function in .NET?