File Filters

<< Click to Display Table of Contents >>

Navigation:  Peer Management Center Help > Advanced Configuration > Advanced Peer Management Center Configuration >

File Filters

File filters govern the inclusion and exclusion of files under the Watch Set. Included files are subject to scan and event detection, while excluded files are not. Initially, all files are included and no files are excluded, except for the internal expressions listed in Auto Excluded Filter below.

Filtration can be configured with wildcard expressions to more easily cover well-known file extensions or names that follow established patterns. When a single expression is insufficient for configuring filtration, multiple expressions may be supplied.  You can also filter file based on a file's last modified time and file size.

Usage Notes

Since inclusions and exclusions are expressed separately, it is possible to submit conflicting expressions. The expression evaluator addresses this by exiting when a file is determined to be excluded. Therefore, exclusions expressions override inclusion expressions.

Rename operations may subject files to an inclusion status change. Renaming a file out of the Watch Set will trigger a target deletion, while renaming into the Rename operations may subject files to an inclusion status change.  Renaming a file out of the Watch Set triggers a target addition.

Folder deletions only affect included files, possibly leading to folder structure inconsistencies. When a session participant deletes a folder, the target outcome will vary depending on whether excluded files are present. Folder deletions are propagated in detail to the targets as to the exact files that have been affected.

Auto-excluded Filter

The following wildcard expressions are automatically applied as exclusion expressions and cannot be changed:

Temporary files generated by common applications

~$*.*

*.tmp

*.$$$

Any file without a file extension, e.g., abcdefg

Explorer System Files

desktop.ini, thumbs.db, and Windows shortcut file, e.g., *.lnk

Configuration Notes

The excluded and included file name filters take one or more standard wildcard expressions that are combined by performing a logical OR of each wildcard expression.

Standard Wildcard Expressions

*

Matches zero or more characters of any value

?

Matches one character of any value

The following examples show the use of wildcard syntax to enter a file exclusion or inclusion:

*.ext        Filter files that end with the .ext extension

ext        Filter files that contain the string ext

ext*        Filter files that start with the string ext

Peer Management Center also supports the use of complex regular expressions, e.g., <<regEx>>. These expressions can be used for either included or excluded patterns. For information on where to enter a regular expression, see Configuring File Filters

A good reference on regular expressions can be found here: http://www.regular-expressions.info/reference.html