How to use File Name Filters when indexing documents (IDM)
Last Updated November 12, 2008
How to use file name filters to specify files to include or exclude from indexing.
Filters let you specify files to include or exclude from indexing. If the filter fields (File Name Include Filters, File Name Exclude Filters, and Size Filters) are empty, Symantec DLP indexes all documents in the specified .zip file or file share. If you enter anything in the File Name Include Filters textbox, Symantec DLP indexes only files that match the filters you specify. If you enter anything in the File Name Exclude Filters textbox, Symantec DLP indexes all files except those that match the filters you specify. When selecting file name filters, it is recommended to select either exclusion filters or inclusion filters—not both.
The filter syntax is as follows:
* (asterisk)—represents any number of characters.
? (question mark)—represents one character.
, (comma) and newline—represents a logical OR.
In the filter fields, Symantec DLP treats forward slashes (/) and backslashes (\) as equivalent and it ignores whitespace at the beginning or end of the pattern. Filtering does not support escape characters, so you cannot match on literal question marks, commas, or asterisks.
Here are some example filters along with descriptions of Symantec DLP’s behavior if you type them in the File Name Include Filters textbox:
Symantec DLP indexes only .txt and .doc files in the .zip file or file share, ignoring everything else.
Symantec DLP indexes only .doc files with five-character names, such as hello.doc and stats.doc (but not good.doc or foobar.doc). (Note: Be sure the expression includes the full pathname to the share in question).
Symantec DLP indexes only files in two subdirectories called "documentation" and "specs."
Excerpted from the 8.1 Admin Guide
Imported Document ID: TECH219105
Subscribing will provide email updates when this Article is updated. Login is required to Subscribe