file-attributes

Keeping file attributes on a copy

Keeping file attributes on a copy Question: I have the situation whereby I want to keep the original attributes on a file (the file creation date etc). Normally when you copy files in Windows, the copy that you make gets new ‘modified’ dates etc. I have come accross the shutil.copy command — although this doesn’t …

Total answers: 1