T
Thomas Guettler
Hi,
I need to copy a directory into an existing directory.
shutil.copytree does complain that the directory already
exists.
I need something like "cp -rp": Copy recursively, overwrite
if file already exist. Preserve mtime and modes if possible.
A keyword argument "may_exist=1" for shutil.copytree would be nice.
Thomas
I need to copy a directory into an existing directory.
shutil.copytree does complain that the directory already
exists.
I need something like "cp -rp": Copy recursively, overwrite
if file already exist. Preserve mtime and modes if possible.
A keyword argument "may_exist=1" for shutil.copytree would be nice.
Thomas