![Cisco ASR 14000 Series Management Command Reference Download Page 761](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667761.webp)
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Utility Commands on Cisco IOS XR Software
utility mv
SMR-759
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
utility mv
To rename or move a file from one directory to another, use the
utility mv
command in EXEC mode or
administration EXEC mode.
utility mv
[
force
] [
interactive
]
source
source-file
target
target-file
[
usage
]
Syntax Description
Defaults
No default behavior or values
Command Modes
EXEC
Administration EXEC
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Note
Keywords are entered using the displayed syntax, or with UNIX-equivalent syntax. The
UNIX-equivalent syntax is displayed in parentheses () in the syntax description. To display the
UNIX-equivalent syntax online, enter the keyword
usage
.
Task ID
Examples
In the following example, the
utility mv
command is used to move the file “aaa” from disk0a: to disk1a:
RP/0/RP0/CPU0:router#
utility mv source disk0a:/aaa target disk1a:/aaa
force
(Optional) (
-f
) Forces an overwrite if the target file already exists. There is
no confirmation prompt.
interactive
(Optional) (
-i
) Specifies to prompt for confirmation before renaming a file.
source
source-file
Specifies the storage device, directory, and filename for the file to be moved.
target
target-file
Specifies the new storage device, directory, and filename for the file.
usage
(Optional) Displays the UNIX options supported by this command.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
universal
execute