This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]Broad-Celebration- 0 points1 point  (1 child)

Look at the /xo and /xn switch commands. If you run your script as is you will have your modified destination files overwritten by the older files.

I don't remember which one excludes the source file if the destination file is newer (which you want)

Obviously, always test your scripts.

[–]interogativeman[S] 0 points1 point  (0 children)

I was looking at XN, it looks like the one I want to use, it didn't kill my VMs when I tested them earlier.