python> link> dir_util.copy_tree ()> update = 1> Do not copy the acquired one?

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

python> link> dir_util.copy_tree ()> update = 1> Do not copy the acquired one?
The websocket of toio (nodejs) and python / websocket do not connect.
[Python] Do not put Japanese in the path used by OpenCV
[Python] Visualize the information acquired by Wireshark
The one who is not on DVD
[Python] Import the module one level higher
Python> Python does not include the last offset
[Matplotlib] Do not tilt the axis label
The update of conda is not finished.