I’d like to specify full paths to ignorable files and directories when calling shutil.copytree(). Something like After this, the excluded file is still there unless I return simply the filename instead of full path. The thing is I really want to set up a particular file instead of all matching filenames under different directories. I referred to a number of