How do I keep two folders in the same computer synced with each other?
Another suggestion would be to use robocopy's mirror option. You would write the following batch file and then set the batch to run every minute in task scheduler. It will rerun a sync on the directories every 1 minute.
Robocopy Syntax robocopy [options] In our case you will want to use the /MIR and the /E switch which will mirror all files and subfolders. It would look like this:
robocopy \\computerA\FolderA \\computerB\FolderB /E /MIR
and save as a .bat file. You can then schedule this to run in task scheduler as often as you'd like the directories to sync.
For more documentation on robocopy
: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy
Microsoft SyncToy combined with Task Scheduler will do exactly what you are asking: https://www.microsoft.com/en-us/download/details.aspx?id=15155