Exclusion criteria

You can exclude objects and parts from compression based on location, name, or a combination of the two. Locations are paths relative to the namespace identification plus any protocol-specific identifiers, such as rest for HTTP or data for the CIFS protocol.

For object names, you can use patterns. The wildcard character for pattern matching is the asterisk (*), which matches any number of characters of any type, including none.

The format for criteria in the exclude list is:

[/directory-path/]object-name-pattern

The initial forward slash (/) is required with a directory path.

Here are some examples:

  • Either of these excludes all objects and parts in the corporate/mktg/graphics directory, as well as all objects and parts in all subdirectories of that directory, recursively:
    /corporate/mktg/graphics/*
    /corporate/mktg/graphics/*.*
  • This excludes all objects and parts with names ending in .jpg:
    *.jpg
  • This excludes all objects and parts that have names ending in .ppt and that are in the /corporate/hr/benefits directory or any of its subdirectories, recursively:
    /corporate/hr/benefits/*.ppt
  • This excludes all objects and parts that have names matching 21*_*.* (for example, 2198_John_Doe.doc) and that are in the corporate/hr/employees directory or any of its subdirectories, recursively:
    /corporate/hr/employees/21*_*.*