def ignore_most(folder, files):
    ignore_list = []
for file in files:
    full_path = os.path.join(folder, file)
if not os.path.isdir(full_path):
    pass
How to write a call back function for ignore in shutil.copytree