RENAME SCRIPT (Rename an IBM Spectrum Protect script)

Use this command to rename an IBM Spectrum Protect script.

Privilege class

To issue this command, you must have operator, policy, system, storage, or system privilege.

Syntax

Read syntax diagramSkip visual syntax diagramREName SCRipt current_script_namenew_script_name

Parameters

current_script_name (Required)
Specifies the name of the script to rename.
new_script_name (Required)
Specifies the new name for the script. The name can contain as many as 30 characters.

Example: Rename a script

Rename SCRIPT1 to a new script named SCRIPT2.
rename script script1 script2

Related commands

Table 1. Commands related to RENAME SCRIPT
Command Description
COPY SCRIPT Creates a copy of a script.
DEFINE SCRIPT Defines a script to the IBM Spectrum Protect server.
DELETE SCRIPT Deletes the script or individual lines from the script.
QUERY SCRIPT Displays information about scripts.
RUN Runs a script.
UPDATE SCRIPT Changes or adds lines to a script.