Next: , Previous: , Up: Configuration   [Contents][Index]


2.2 Disabling synchronization

vcsync can be instructed to disable synchronization for a particular destination directory. To do so, define the name of a special sentinel file. Before proceeding, vcsync will check if that file exists in the destination directory. If it does exist, synchronization will be skipped and vcsync will exit with code 0, indicating successful operation.

Config: sentinel filename

Defines the name of the sentinel file. The argument must be a valid file name without directory part.

Before exiting, the following message will be output on standard error:

destdir is not under VCS control: sentinel file exists

where destdir is the destination directory name. This message can be seen when using Git.