Use the sync constraints configuration section to specify desktop files and folders that should not be synced to the server, such as temporary files or work files.
Constraint rules are specified as syncmanager.constraint.<n>=<rule>, where:
- <n> is an ascending number starting at one
- <rule> is specified as <ruletype>|<parameter>[,<parameter>,...]
The available constraint rule types are:
| Constraint rule type | Description |
|---|---|
| FileExt | Ignores files with a particular file extension. Multiple extensions can be specified per rule. |
| Name | Ignores files with a particular name. Multiple names can be specified per rule. |
| NamePattern | Ignores files that match a regular expression. Multiple regular expressions can be specified per rule. |
| FolderNamePattern | Ignores folders that match a regular expression. Multiple regular expressions can be specified per rule. |
Here is a sample sync constraints configuration section:
# Sync constraints
syncmanager.constraint.1=FileExt|.tmp,.temp
syncmanager.constraint.2=Name|desktop.ini,thumbs.db,.DS_Store
syncmanager.constraint.3=NamePattern|~\\$.*\\.doc,~\\$.*\\.docx,~\\$.*\\.xlsx,~\\$.*\\.pptx,~\\$.*\\.xls,~\\$.*\\.ppt,~\\$.*\\.xlsm
syncmanager.constraint.4=NamePattern|\\._.*
syncmanager.constraint.5=NamePattern|^[0-9A-F]{8}
syncmanager.constraint.6=FolderNamePattern|^[0-9A-F]{8}