1024mb wrote: ↑05 Jun 2021 20:52
Can anybody please test this and confirm I haven't fucked up my XY config?
I didn't test it, but this an NTFS filesystem feature and it is called
File System Tunneling.
It basically caches some metadata of a file (like your date created) for older programs that use a delete+create process instead of for example rename. Or when saving an updated file: save to temp-file, delete original and rename tempfile to original.
Otherwise all the metadata would be gone.
So when a new file is created, Windows checks the cache to see if it contains that specific filename and adds all the existing metadata to the new file.
The default caching time is 15 seconds, so you can test the following:
[1] Ddelete file, wait 15 seconds (or to be save: 20 seconsds) and copy/move your file
[2] Try your original action on a non-NTFS filesystem (FAT32, exFAT, ...)
If my theory is correct, in both cases the new file should not inherit the date created attribute.
It is possible to shorten the caching period - or even completely disable it altogether - through a regkey, but at the moment I'm too lazy to look it up
But 'Internet' should know ..