Alban Nona wrote:
Hello,
Im stuck with this problem:
I would like to os.stat st_mtime to copy only the files that have
different modification date.
so I found something on internet using this kind of line:
if os.stat(dest).st_mtime - os.stat(src).st_mtime > 1:
shutil.copy2 (src, dst)
Hello,
Im stuck with this problem:
I would like to os.stat st_mtime to copy only the files that have different
modification date.
so I found something on internet using this kind of line:
if os.stat(dest).st_mtime - os.stat(src).st_mtime > 1:
shutil.copy2 (src, dst)
So I adapted it to my scri