Positive and negative lists for file synchronization – Examples

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:
Backup8

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 folders:
\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 folders:
\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: (yes, files)
\*\src\*
\*\res\*

Try it: Download Easy2Sync for Files

Comments are closed.