Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell NetWorker 19.9 Administration Guide

Format of directive statements

Directive statements specify the files or directories and then the action to perform on the files and directories.

A directive statement specifies the following items:

  • The directory for a directive statement.
  • The action to perform, specified using either of the following:
    • An ASM specification with a pattern list of child file or directory names, which could include wildcards.
    • A save environment keyword specifies the action to perform.

A directive statement is written in the following format:

<< "directory_specification" >>
[+] ASM: pattern
save_environment_keyword
# comment

where:

  • The directive statement does not contain blank lines.
  • directory_specification is the absolute path to the highest-level directory for which the ASM in the directive applies.
  • [+] is optional. The presence of the plus (+) sign indicates that the directive recursively applies to the directory defined by the absolute path and all subdirectories.
  • ASM is the ASM that specifies the action to take on one or more files in the current directory.
  • pattern is a list of file or directory names, in the current directory on which to apply the ASM.

    The pattern can include multiple names that are separated by spaces, and wildcards. Wildcards can replace a single character or string of characters. Directive statements support the use of standard shell command interpreter file matching patterns. You cannot specify lower-level subdirectories in the pattern. That is, the pattern must not contain the Unix "/" or Windows "\" directory separator.

    NOTE:File names are case-insensitive for directives that are applied to Windows clients.
  • save_environment_keyword is a NetWorker keyword that controls how the current ASM and subsequent ASMs that apply to the current directory and subdirectories are applied in the directive statement.
  • comment is a user-defined description of the directive statement. A hash (#) character must precede the comment.
NOTE:If an ASM or pattern name includes a space, enclose the name or argument in double quotation marks.

The UNIX man page and the NetWorker Command Reference Guide provides detailed information about directives in the nsr and nsr_directive commands.


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\