Page 1 of 1
[SOLVED] Preserve creation times when copying/moving from SMB shares
Posted: 04 Mar 2022 10:45
by 1024mb
Currently XYplorer only preserves the modified and creation times, accessed times are set to the date the file is copied/moved.
robocopy does preserves all three timestamps for files and folders using /DCOPY:DAT and /COPY:DAT so at least this is possible in Windows with the default tools, could we get the same with XYcopy?
Re: Preserve creation times when copying/moving from SMB shares
Posted: 04 Mar 2022 11:38
by Horst
Access time is only of interest for servers and backup purposes.
On normal systems NTFS access time should be set off.
Also I don't see the logic setting the access time on the local system while copying
Re: Preserve creation times when copying/moving from SMB shares
Posted: 04 Mar 2022 12:31
by 1024mb
Access time is only of interest for servers and backup purposes.
On normal systems NTFS access time should be set off.
Yes, that's what I'm accessing, a NAS share and backups.
Also I always disable NTFS last access with fsutil and I don't do it for the drive performance.
Also I don't see the logic setting the access time on the local system while copying
Well, I don't know if I can come up with something you (and every one else) would like but I do use them as I use every piece of metadata I can get, I hoard these stuff. For my use case, Modified and Creation dates should be kept as the original to preserve the metadata intact, those two are super important to me, the only date I actively "use" is the last access time and that's only to know when I got the file (from the Internet), beyond that that date is never modified, in my book it's called "downloaded time"

that's why I disable last access times (which obviously only disables updating it, not the support).
Re: Preserve creation times when copying/moving from SMB shares
Posted: 04 Mar 2022 13:54
by admin
1024mb wrote: ↑04 Mar 2022 10:45
Currently XYplorer only preserves the modified and creation times, accessed times are set to the date the file is copied/moved.
Not here.

All three times are preserved.
Re: Preserve creation times when copying/moving from SMB shares
Posted: 04 Mar 2022 20:53
by jupe
@1024mb: You didn't mention it, so I have to ask, do you have this enabled:
Configuration | File Operations | File Operations | Custom Copy Operations | Configure... == Preserve all item dates
Re: Preserve creation times when copying/moving from SMB shares
Posted: 04 Mar 2022 20:58
by admin
Good question. I could have mistakenly assumed that this check mark is set as a matter of course.
Re: Preserve creation times when copying/moving from SMB shares
Posted: 05 Mar 2022 02:15
by 1024mb
Yes, that is enabled.
Well... I've tried it now (after rebooting) and now it is preserving all dates, I don't know what happened

. Rebooting does wonders in Windows.
Thank you guys.