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
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 script2Related commands
| 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. |
