Does renaming affect the file modify or access time? Is there a list somewhere of what changes which times?
What counts as a file modification or change
filestimestamps
filestimestamps
Does renaming affect the file modify or access time? Is there a list somewhere of what changes which times?
Best Answer
Renaming does update the Change time:
The Access time is updated when reading the contents of a file. Modify when you actually update the file (opening for modification is not enough to change Modify time).