recursive_glob#

ansys.aedt.core.generic.file_utils.recursive_glob(path: str | Path, file_pattern: str)#

Get a list of files matching a pattern, searching recursively from a start path.

Parameters:
pathstr or pathlib.Path

Starting path.

file_patternstr

File pattern to match.

Returns:
list

List of files matching the given pattern.