Unfortunately, it doesn't. In this case, I need to make periodic synchs (including deleting files) of everything on a computer except for a few log subdirectories, which should copy new files but not delete the old. The synch script I made does this:
option synchdelete on
option exclude "pagefile.sys;logdir1;logdir2;user.dat"
synchronize remote C:/
option exclude "*.tmp;irrelevantjunk;tmp"
option synchdelete off
synchronize remote C:/logdir1
cd logdir2... etc. etc.
The problem is that the first sync (of C:\) deletes logdir1 and logdir2 on the remote server rather than excluding (which I take to mean ignoring) them. This is also different from the GUI behavior, wherein when I sync C:\ I can just preview and uncheck logdir1, logdir2 and they are left alone on the remote server, easily synchronized later without the delete option.
Reply with quote