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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 492
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 396
Grouping Files into Filesets
Grouping Files by Filename
CLI Storage-Management Guide 13-9
Matching Filenames (optional)
You can use the same methods (above) for specifying the fileset’s files. These apply to
any files in the chosen path(s). By default, all files match. From gbl-ns-vol-fs-name
mode, use the
name command to specify certain files for the fileset:
name filename [ignore-case]
name match “wild-card-string [ignore-case]
name regexp “regular-expression [ignore-case]
where
filename (1-1024 characters) is an exact filename for the fileset,
match “wild-card-string (1-1024 characters) uses wildcard conventions for
shells described above (see “Matching Against a Wildcard String” on
page 13-3),
regexp “regular-expression (1-1024 characters) uses IBM’s ICU
conventions for regular expressions, also described above (see “Regular
Expression Syntax” on page 13-5), and
ignore-case (optional) matches the above without considering letter case
(for example, name deleteme ignore-case matches both “deleteMe” and
“DELETEME”).
For example, the following command set matches any file with a “.xml” extension. It
searches every directory in the volume’s tree, recursively:
bstnA6k(gbl)# policy-filename-fileset xmlFiles
bstnA6k(gbl-ns-vol-fs-name[xmlFiles])# recurse
bstnA6k(gbl-ns-vol-fs-name[xmlFiles])# name match “*.xml”
bstnA6k(gbl-ns-vol-fs-name[xmlFiles])# ...
This next fileset uses a regexp to match any file with a “.fm” or a “.pdf” extension:
bstnA6k(gbl)# policy-filename-fileset fm_pdf
bstnA6k(gbl-ns-vol-fs-name[fm_pdf])# name regexp “\.(fm|pdf)$” ignore-case
bstnA6k(gbl-ns-vol-fs-name[fm_pdf])# ...
Vista de pagina 396
1 2 ... 392 393 394 395 396 397 398 399 400 401 402 ... 491 492

Comentarios a estos manuales

Sin comentarios