Hi!
I am doing Folder Sync using scheduled task with script below. My left folder is under a local drive, while my right folder is under a mapped drive from SharePoint.
load "C:\My Folder" "D:\My Folder"
expand all
SYNC create-empty mirror:left->right
One issue is, which I don't have a clue why, some files on the right (SharePoint) end up in different size (slightly bigger) than files on the left. What happened was that it kept sync these files each time the script is run - which was a waste of time.
Q1. How can I avoid the file size difference in the first place.
Q2. If I can't then, how can I use script to exclude/filter these files provided that they have the same last modified dates? I can do this using the application directly, Folder Sync, Session Settings, Sync, choose Mirror to Right, and then choose 'Leave alone' from 'If files are different'. But how can I achieve it using script?
Any advice is GREATLY APPRECIATED.
Best,
Nemo
I am doing Folder Sync using scheduled task with script below. My left folder is under a local drive, while my right folder is under a mapped drive from SharePoint.
load "C:\My Folder" "D:\My Folder"
expand all
SYNC create-empty mirror:left->right
One issue is, which I don't have a clue why, some files on the right (SharePoint) end up in different size (slightly bigger) than files on the left. What happened was that it kept sync these files each time the script is run - which was a waste of time.
Q1. How can I avoid the file size difference in the first place.
Q2. If I can't then, how can I use script to exclude/filter these files provided that they have the same last modified dates? I can do this using the application directly, Folder Sync, Session Settings, Sync, choose Mirror to Right, and then choose 'Leave alone' from 'If files are different'. But how can I achieve it using script?
Any advice is GREATLY APPRECIATED.
Best,
Nemo
Comment