Wednesday, 26 June 2019

Synchronize folder timestamps

Now i have moved my working platform (Win7 x86) used for the last 10 years to newer machine (Win10 x64) and have used ViceVersa Pro to synchronize all the required directories and files in the partitions to the new machine.

All the softwares installed on the Win7 machine have been installed the same (some still use x86 version because x64 is not available and other download latest x64 version) to the new Win10 machine.

However, even though the timestamp for the files were synchronized correctly but not the folders. Most of the timestamp  in the new folder used the date and time when it was synchronized. This is not good because this group of folders (same timestamp) cannot tell the work progress by time.

Than the same miricle in google i came to this website providing the trick using robocopy which i did try some years ago but failed.

http://www.aionsolution.com/it-support/windows-7/robocopy-a-hint-for-those-with-folder-timestamp-issues-after-syncing/

Hence this is the command.

robocopy "(source") "(destination)" /dcopy:t /copy:t /s /log:(drive letter e:)mylog.txt /NDL


However there is a catch. The command will only syn the date modified and usually the folder detail viewer will only show a date column which does not match with the date modified. I do not know why but you only need to right click the folder viewer heading in order to show the date modified column for syn confirmation.

To generate mylog.txt greatly helps to determind whether there is error for the robocopy command. If mylog.txt has been created instantly, than there is some error.

Now my new folders are syn with the correct timestamp. However, some folders timestamp remain at the last syn timestamp when i moved from WinXp to Win7 and i did not manage to correct it.

No comments:

Post a Comment

Windows 10 – Right-Click Context Menu option is missing and Freeze/Hang

Recently, my Windows 10 has started freezing whenever open a file explorer and right-click on a PDF or image file. The context menu appears,...