Installation manual
Grouping Files into Filesets
Grouping Files by Filename
13-10 CLI Storage-Management Guide
Excluding Files
As with paths, you can use the not keyword to select every file that does not match the
string:
name not filename [ignore-case]
matches any file except the one specified. This only excludes an exact match for
filename.
name match not “wild-card-string” [ignore-case]
excludes any file that fits the pattern in the wild-card string.
name regexp not “regular-expression” [ignore-case]
matches any file that does not fit the regular expression.
For example, this command sequence excludes all “*.wmv” and “*.avi” files from the
“website” fileset:
bstnA6k(gbl)# policy-filename-fileset website
bstnA6k(gbl-ns-vol-fs-name[website])# name regexp not “\.(wmv|avi)$”
bstnA6k(gbl-ns-vol-fs-name[website])# ...
Removing the Fileset
Removing a fileset affects file metadata only; it does not delete any files. Use no
policy-filename-fileset
to remove a name-based fileset:
no policy-filename-fileset name
where name (1-64 characters) identifies the fileset to be removed.
You cannot remove a fileset that is referenced by another fileset or used in a rule. The
sections below have configuration instructions for referencing a fileset in these ways.
For example, the following command sequence removes the “httpConf” fileset:
bstnA6k(gbl)# no policy-filename-fileset httpConf
bstnA6k(gbl)# ...