Exclude via filter

Excluding files and directories woks by specifying a phrase that is compared against a file or directory path. Only if the file/directory matches at least one entry in the include list and none of the entries in the exclude list it passes filtering. The phrase is also a file or directory name, but it must be relative to the base sync-directory and may additionally include wildcards like '*' or '?'.


Example: (Mirror-Sync from C:\Source to D:\Target)

Exclude single file C:\Source\file.txt:
     Filter: \file.txt

Exclude single folder C:\Source\sample\subfolder:
    Filter: \sample\subfolder

Exclude all *.tmp files beyond subfolder:
    Filter: \sample\subfolder\*.tmp

Exclude all files and folders named CVS within arbitrary sub directories:
    Filter: *\CVS

Exclude all files and folders that have test as part of their name:
    Filter: *test*




Note:
A filter phrase „\fileOrDir” matches both a file or a directory named „fileOrDir”. In most cases there is no need to distinguish between a phrase to be used for files or directories. In cases where it is clear you want to process directories only, you can give a hint by adding a backslash: „\fileOrDir\”. Now this filter will be matched against directories only.




Example: (Exclude all sub folders)

Include: *
Exclude: *\



This will exclude all objects within the two directories that end with a '\' character, which is interpreted as the end of a directory name.


Note:
In most cases manually specifying a filter phrase is not necessary! You can exclude files, directories and even whole lists of both directly on main grid via context menu.