Local Master

In Local Master mode, SyncDat will look for any differences between the local and remote directories, and change the remote directory to make it match.  This mode is recommended for backups or other situations where updates will occur on the local side.

Usage

Syntax is the same as peer mode, but with the addition of a "-l" option or the setting of the LocalMaster configuration variable.

syncdat -l localpath username@servername:remotepath

New Files

New files on the local side will be copied to the remote side.  Any new files on the remote side will be deleted unless the NoDelete option is set.

Deleted Files

Any file that does not exist on the local side will be deleted from the remote side unless the NoDelete option is set.

Updated Files

If a difference is detected between a file that exists on both sides, the local version will overwrite the remote version.

Conflicting Files

Files on the local system will always overwrite those on the remote system, even if the remote files are newer.