mv
mv
Moves an existing file or directory to a new location.
mv [options] source destination
Syntax Definitions
options
source
destination
Defaults
N/A
Platforms Supported
OmniSwitch 10K
Usage Guidelines
•
The mv command does not make a copy of the file or directory being moved. To copy a file or
directory to the current path or to a new location, use the
•
Separate the directory names and file names that are part of the path with a slash (/). Refer to the exam-
ples below.
•
This command can also be used on the secondary CMM.
Examples
-> mv flash/asc.1.snap flash/backup_files/asc.1.snap
-> mv ?
BusyBox v1.16.1 (2010-12-06 23:23:38 PST) multi-call binary.
Usage: mv [OPTIONS] SOURCE DEST
or: mv [OPTIONS] SOURCE... DIRECTORY
Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY
Options:
-f
-i
Release History
Release 7.1.1; command introduced.
page 42-16
Use the '?' on the command line for a list of options.
The name of the existing file to be copied.
The new user-defined file name for the resulting file copy. If you are
copying a file to the same directory as the original, the file name for the
copy must be different from the original.
Don't prompt before overwriting
Interactive, prompt before overwrite
File Management Commands
cp
command.
OmniSwitch CLI Reference Guide
March 2011