Update local modified date
Moderator: SourceGear
Update local modified date
I have a lot of local files that have their modified date out of sync with the repository, but their version number is the same. Is there a way for me to force a get all so that it replaces the local files with the correct timestamp? I'm using Vault 5.1.1 it seems that it only looks at the version number and I cannot override that. I don't want to delete all local files and do a get because there are a number of files that do not go into the repository.
Re: Update local modified date
You can try a Get with the Overwrite option, but during your Get, when the options window opens, make sure that it's set to set the time stamp to Modification. You may have it set to use the current time for the time stamp which would explain why the timestamps don't match. Current is the default.
You can change the default time stamp used on a Get in Vault Tools - Options - Local Files in the Set File Time option.
You can change the default time stamp used on a Get in Vault Tools - Options - Local Files in the Set File Time option.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Update local modified date
Yup, tried that many times. It doesn't actually do the get because the version numbers are the same.
Re: Update local modified date
Since you don't want to remove the current files, one thing you could do is perform a Get to a different location than the working folder with the modification time stamp set, then drop those files on top of your working folder.
Otherwise you will have to remove the files on disk.
Otherwise you will have to remove the files on disk.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Update local modified date
OK, thanks. I was just reading about Robocopy options and think I can also sync the timestamps between folders that way as well.