I tried searching first but no luck finding a solution to my problem.
In the past I have been doing drive synch up by dragging and dropping the folders with the Backup option. I was using the Home version before so I am a newbie when it comes to scripting.
Problem: I am trying to synch up 2 drives. The target drive cannot be deleted but new folders are files need to be added and newer/updated files need to be copied over the old files. Eventually I am going to set-up an schedule task to do it weekly.
I wrote this script:
// Sync H:\ to X:\02-Drive_H_Backup
// Try #1 sync "H:\", "X:\02-Drive_H_Backup", , 2, 1;
// Try #2
sync "H:\", "X:\02-Drive_H_Backup", 1, 4, 0;
The first try (#1) the script deleted folder/files before doing the synch. It also got errors due to some files/folders (since deleted)
The second try (#2) XYPlorer crashed and could not see any error logs.
Is my script correct? Or Am I missing something or is it wrong?
On a side note, is there a way to write the script to exclude some of the folders? The hard way is to script folder by folder synch