Acopia Networks 810-0044-00 Manual de instalación Pagina 395

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 492
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 394
Grouping Files into Filesets
Grouping Files by Filename
CLI Storage-Management Guide 13-7
Regular-Expression Samples
^/var matches a path with “/var” at its root (for example, “/var/tmp” or
“/variable/data,” but not “/bin/var”).
^/(var | tmp)/ matches two root directories, “/var/” or “/tmp/”.
^/home/[^/]+/$ matches any subdirectory of “/home” (such as “/home/juser/”)
but does not match any directories below that level (such as
“/home/juser/misc/”).
For More Information
Consult ICU documentation on the Internet for more details on ICU regular
expressions.
Negating the Match
There are some cases where you want to match most paths in the volume, with some
exceptions. You can use the
not keyword in the path command to negate a match,
choosing every path that does not match the string:
path not directory [ignore-case]
matches any directory except the one specified. This only excludes an exact
match for directory.
path match not “wild-card-string [ignore-case]
matches any directory that does not fit the pattern in the wild-card string.
path regexp not “regular-expression [ignore-case]
matches any directory that does not fit the regular expression.
For example, this command sequence matches all directories in the volume except
those named “deleteme:”
bstnA6k(gbl)# policy-filename-fileset keepers
bstnA6k(gbl-ns-vol-fs-name[keepers])# path match not “*/deleteme/*”
bstnA6k(gbl-ns-vol-fs-name[keepers])# ...
As another example, this command sequence matches all directories except those that
start with a “/.”:
Vista de pagina 394
1 2 ... 390 391 392 393 394 395 396 397 398 399 400 ... 491 492

Comentarios a estos manuales

Sin comentarios