Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
win_robocopy add md5 checksum check for copy #61118
Adds the option to enable checksum comparison between source and destination files to make sure the destination file is updated in case the metadata didn't changed.
Sometime it happens that a sourcefile has different data than the destination file, but metadata like last change time etc haven't been changed. This kind of metadata is used by robocopy to know if a file needs to be copied or not. Since robocopy doesn't have checksum checking between source and destination file, this addition when enabled on the module, will do the following before running the robocopy command:
I'm leaning towards agreeing with @ShachafGoldstein here, this module is around robocopy operations and the PR is adding some manual checksum and copy operations because robocopy does not support this type of operation. As a middle ground is there a way to explicitly tell robocopy to include files x, y, z?
cc @nitzmahone what are your thoughts on this?