http://docs.python.jp/2/distutils/apiref.html
distutils.dir_util.copy_tree(src, dst[, preserve_mode=1, preserve_times=1, preserve_symlinks=0, update=0, verbose=0, dry_run=0])
update and verbose are the same as those of copy_file ().
distutils.file_util.copy_file(src, dst[, preserve_mode=1, preserve_times=1, update=0, link=None, verbose=0, dry_run=0])
If> update is true, src will only be copied if dst does not exist or if dst exists and is older than src.
It seems that update should be set to 1 to skip the already acquired copy by copying the folder.
Recommended Posts