Barney Gale <[email protected]> added the comment:
shutil.move() accepts a `copy_function` argument:
shutil.move(src, dst, copy_function=copy2)
It's possible to set `copy_function=copy` to skip copying file metadata.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue46317>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com