glob

In computer programming, glob patterns specify sets of filenames with wildcard characters. For example, the Unix command mv *.txt textfiles/ moves all files with names ending in .txt from the current directory to the directory textfiles.

https://docs.python.org/3/library/glob.html