PathCantHaveRegex

A regular expression to choose the files to ignore. If the full path of a file in a repository matches the regular expression, the file is ignored.

To ignore entire directory trees, consider using PathNoCrawlRegex for better performance.

Type: String (regular expression)
Default:  
Required: No
Configuration Section: TaskName or FetchTasks
Example:

The following example ignores all files with a .zip extension:

PathCantHaveRegex=.*\.zip

See Also: PathMustHaveRegex