shutil.ignore_patterns(*patterns)
This factory function creates a function that can be used as a callable for copytree()
‘s ignore argument, ignoring files and directories that match one of the glob-style patterns provided. See the example below.
Please login to continue.