Example 1: Only office documents should get synchronized.
Positive list for files:
*.xls
*.doc
*.ppt
Example 2: Backup files should not get synchronized.
Negativliste for files:
*.bak
*.backup
Copy of *
Example 3: Backup folders should not get synchronized.
Negative list for directories:
Backup
Example 4: The backup folder in the logfile directory should not get synchronized.
Negative list for directories:
\logs\backup
Example 5: Only files in the root directory and in the folders „src“ and „res“ should get synchronized. These folders are at top level.
Positive list for directories:
\src
\res
Example 5: Only files in the root directory and in the folders „src“ and „res“ (and their subfolders) should get synchronized. These folders are at top level.
Positive list for directories:
\src
\src\*
\res
\res\*
Example 7: Only files in the subfolders „src“ and „res“ should get synchronized. Several directories with these names can exist in the directory tree:
Positive list for files:
\src\*
\res\*
\*\src\*
\*\res\*
Example 8: Only files in the subfolders should get synchronized (but not in the base folder):
Positive list for files:
\*\*
See also: Centralizing lists