Wildcard Support for Mac File Exclusions

The Mac Scan Exclusion List for files supports the * character. Use the * character to represent a folder name.

Table 1. Correct Usage of Wildcards

Example

Matched Data

/Users/*

All files and folders in /Users/

/Users/username/temp/*

All files and folders in /Users/username/temp/

/Users/*/temp

All files and folders in /Users/*/temp

Table 2. Incorrect Usage of Wildcards

Example

Reason

/Users/*user/temp

Wildcards cannot support partial matching of folder names.

/Users/user*/temp

/Users/us*r/temp

/Users/username/temp/*.jpg

Wildcards cannot represent any file that has an extension.

/Users/username/temp/*.*