I have a special copy (maybe Robocopy) requierement:
I have:
- A source directory (with sub-directories)
- A target directory (with sub-directories)
Both directory structures are nearly the same. But in the target directory there are some newer or additional files. I have to copy files from source to target directory that are not newer (or added) in the target directory.
Example:
The file example.doc exists in source and target directory. But the file in the target directory has a newer timestamp (someone worked on this file) and I want not to overwrite this file.
The file example2.doc exists in source and target directory. Both files have the same timestamp. In this case, I want to overwrite the file in the tartet directory with the file from the source directory.
Maybe Robocopy is the Tool for this case... I read all the parameters (and there are many :) but I didn't find a solution.
BTW: This is my first post on stackoverflow :-)
Thank you very much.
Gernot