Synchronize script not properly working
Hello,
I have a small script file to mirror changes in local drive (K:\). So far the used syntax is working except one but very important point:
No files are copied from local to remote! If a new directory is created on K:\ with files in it, the script will only create an empty new remote directory.
Here is my script:
What is wrong with my script? I hope somebody can help me here. Thank you in advance.
Martin
I have a small script file to mirror changes in local drive (K:\). So far the used syntax is working except one but very important point:
No files are copied from local to remote! If a new directory is created on K:\ with files in it, the script will only create an empty new remote directory.
Here is my script:
option batch on option confirm off open sftp://username:pw@192.1xx.y.zzz lcd k:\ cd /media/Backup/"Backup K"/ synchronize remote -mirror -criteria=time -rawtransfersettings ExcludeHiddenFiles=1 -delete -filemask=""|*/$RECYCLE.BIN/;*/"System Volume Information"/"" close exit
Martin