Use wildcards in protection settings folder exclusions Skip Navigation

Use wildcards in protection settings folder exclusions

For all operating systems, the following special character is supported:
• Asterisk (*)
Pattern syntax for * wildcards
Character
Meaning
*
Matches one or more characters, except platform-specific path separator ('\')
Used to:
Exclude folders and to represent a prefix or suffix for a folder name. Multiple wildcards are allowed in an exclusion path.
• At this time, "*" escaping is not supported. For example, you cannot exclude a folder that contains an asterisk "*" in the folder name. Note:
• At this time, a wildcard cannot be used to represent a drive letter. This functionality will be added at a later time. This section will be updated once that functionality is in place.
• Previous folder exclusion functionality still applies. This means that exclusions will also apply to any child folders.
Examples
For the following path:
C:\Application\TestFolder1\MyApp\program.exe
Examples of Correct Exclusions:
• C:\Application\TestFolder1\MyApp\
Exclusion without any wildcards.
• C:\Application\*\MyApp\
A wildcard is used to represent all parent folders of the "MyApp" child folder
• C:\Application\*Folder1\MyApp\
The wildcard for "*Folder1" specifies that there is a prefix "Test" for this folder for the Agent to compare against.
• C:\Application\TestFolder*\MyApp\
The wildcard for "TestFolder*" specifies that there is a suffix "1" for this folder for the Agent to compare against.
• C:\Application\*Folder*\MyApp\
The wildcard for "*Folder*" specifies that there is a prefix "Test" and a suffix "1" for this folder for the Agent to compare against.
• C:\Application\*Folder*\My*\
The wildcard for "*Folder*" specifies that there is a prefix "Test" and a suffix "1" for this folder for the Agent to compare against.
• C:\Application\*\
This exclusion would exclude all folders under "Application". *\Application\*\ This exclusion would exclude all folders under "Application" for all drives.
• *\Application\*Folder*\MyApp\
The wildcard for "*Folder*" specifies that there is a prefix "Test" and a suffix "1" for this folder for the Agent to compare against, and  would also exclude for all drives.
Example of Incorrect Exclusions:
•   C:\Application\TestFolder1\MyApp\*.exe
The "*" cannot be used for executables, only for folders or directories.
• C:\Application\**
The "**" is not a valid usage of wildcards for folder exclusions, use a single "*" asterisk.
Not Recommended Exclusions:
• Correct (but not recommended): C:\*
Would effectively exclude anything in any directory (including child directories) under the C: drive.
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.8193472623825073, "perplexity": 8322.949777166674}, "config": {"markdown_headings": false, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2022-49/segments/1669446710898.93/warc/CC-MAIN-20221202050510-20221202080510-00574.warc.gz"}