File criteria options

You can configure a replication policy to exclude files that meet or do not meet specific criteria.

You can specify file criteria based on the following file attributes:

Date created
Includes or excludes files based on when the file was created. This option is available for copy policies only.

You can specify a relative date and time, such as "two weeks ago", or specific date and time, such as "January 1, 2012." Time settings are based on a 24-hour clock.

Date accessed
Includes or excludes files based on when the file was last accessed. This option is available for copy policies only, and only if the global access-time-tracking option of the cluster is enabled.

You can specify a relative date and time, such as "two weeks ago", or specific date and time, such as "January 1, 2012." Time settings are based on a 24-hour clock.

Date modified
Includes or excludes files based on when the file was last modified. This option is available for copy policies only.

You can specify a relative date and time, such as "two weeks ago", or specific date and time, such as "January 1, 2012." Time settings are based on a 24-hour clock.

File name
Includes or excludes files based on the file name. You can specify to include or exclude full or partial names that contain specific text.

The following wildcard characters are accepted:

Note Image

Alternatively, you can filter file names by using POSIX regular-expression (regex) text. Isilon clusters support IEEE Std 1003.2 (POSIX.2) regular expressions. For more information about POSIX regular expressions, see the BSD man pages.

Table 1. Replication file matching wildcards
Wildcard character
Description
*
Matches any string in place of the asterisk.

For example, m* matches movies and m123.

[ ]
Matches any characters contained in the brackets, or a range of characters separated by a dash.

For example, b[aei]t matches bat, bet, and bit.

For example, 1[4-7]2 matches 142, 152, 162, and 172.

You can exclude characters within brackets by following the first bracket with an exclamation mark.

For example, b[!ie] matches bat but not bit or bet.

You can match a bracket within a bracket if it is either the first or last character.

For example, [[c]at matches cat and [at.

You can match a dash within a bracket if it is either the first or last character.

For example, car[-s] matches cars and car-.

?
Matches any character in place of the question mark.

For example, t?p matches tap, tip, and top.

Path
Includes or excludes files based on the file path. This option is available for copy policies only.

You can specify to include or exclude full or partial paths that contain specified text. You can also include the wildcard characters *, ?, and [ ].

Size
Includes or excludes files based on their size.
Note Image

File sizes are represented in multiples of 1024, not 1000.

Type
Includes or excludes files based on one of the following file-system object types:
  • Soft link
  • Regular file
  • Directory