Oracle® Secure Backup Reference Release 10.1 Part Number B14236-03 |
|
|
View PDF |
Purpose
Use the rends
command to rename a dataset file or directory. For example, the following command renames old_file
to new_file
and moves it from old_dir
to new_dir
:
ob> rends old_dir/old_file new_dir/new_file
The following command creates new_file
in the current directory:
ob> rends old_dir/old_file new_file
See Also:
"Dataset Commands" for related commandsPrerequisites
You must have the modify administrative domain's configuration right to use the rends
command.
Syntax
rends::=
rends [ --nq ] { old-dataset-name new-dataset-name }...
Semantics
Does not display a confirmation message. If you do not specify this option, then the command displays a confirmation message. The message is described in "Command Execution in Interactive Mode".
Specifies the name of the existing dataset file or directory that you want to rename. Refer to "dataset-name" for a descriptions of the dataset-name placeholder.
Specifies a new name for the dataset file or directory. Note that you can use new-dataset-name to specify a new dataset path. Refer to "dataset-name" for a descriptions of the dataset-name placeholder.
Example
Example 2-109 renames dataset datadir.ds
in the top-level directory to tbrset/ddir.ds
.