I want to write a VBScript which syncs two folders (I know there are other ways to do this but this way suits the task at hand, assuming of course I can figure this key part out
. One folder is the master and the other is basically a clone/backup that I want to keep up to date by running the script via scheduled task. I want the files to be natively accessible otherwise I'd do a backup.
I could reset the archive bits or explicitly search the target folder and compare filenames when copying so as not to overwrite, but what I'd really like is a switch for the Robocopy (or XCopy) command which indicates "Do not overwrite existing files". XXCopy has just such a switch but I'd prefer to use a built-in tool if possible.
I've looked through all the switches but it's not clear to me that any of them does this. Is there a switch I'm not reading correctly (or some way to combine switches) to achieve this? Thanks.
Barring that I guess I'll appreciate tips on alternate ways to achieve the folder-cloning and daily updating
.
I could reset the archive bits or explicitly search the target folder and compare filenames when copying so as not to overwrite, but what I'd really like is a switch for the Robocopy (or XCopy) command which indicates "Do not overwrite existing files". XXCopy has just such a switch but I'd prefer to use a built-in tool if possible.
I've looked through all the switches but it's not clear to me that any of them does this. Is there a switch I'm not reading correctly (or some way to combine switches) to achieve this? Thanks.
Barring that I guess I'll appreciate tips on alternate ways to achieve the folder-cloning and daily updating