
File Management Commands
OmniSwitch 6250 CLI Reference Guide
November 2009
page 7-23
mv
Moves an existing file or directory to a new location.
mv {[path/]filename dest_path[/new_filename] | [path/]dir dest_path[/new_dir]}
Syntax Definitions
path/
Specifies the path (i.e., location) containing the file or directory being
moved. If no path name is specified, the command assumes the current
path.
filename
Specifies the name of the existing file to be moved.
dest_path/
Specifies the destination path (i.e., new location) for the file or direc-
tory that is being moved.
new_filename
Specifies a new file name for the file being moved. If a new name is not
specified, the existing name will be used.
dir
Specifies the name of the existing directory to be moved.
new_dir
Specifies a new directory name for the directory being moved. If a new
name is not specified, the existing name will be used.
Defaults
N/A
Platforms Supported
OmniSwitch 6250
Usage Guidelines
•
The
mv
command does not make a copy of the file or directory being moved. To copy a file or direc-
tory to the current path or to a new location, use the
.
•
Be sure to separate path directories and file names with a slash (/). Refer to the examples below.
•
Up to 255 characters may be used for a fully qualified path.
•
A path can contain up to a maximum of seven (7) directories including
/flash
.
•
As with files names, up to thirty-two (32) characters may be used for a directory name.
•
File and directory names can include only the following character types: a-z, A-Z, 0-9, dashes (-),
dots (.), and underscores (_).
•
This command can also be used on the secondary CMM.
Examples
-> mv flash/asc.1.snap flash/backup_files/asc.1.snap
Summary of Contents for OmniSwitch 6250
Page 140: ...Power over Ethernet PoE Commands page 4 18 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 212: ...Session Management Commands page 6 52 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 270: ...File Management Commands page 7 58 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 280: ...Web Management Commands page 8 10 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 328: ...SNMP Commands page 10 32 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 338: ...DNS Commands page 11 10 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 392: ...Link Aggregation Commands page 12 54 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 440: ...802 1Q Commands page 15 8 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 628: ...Loopback Detection Commands page 17 12 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 768: ...Ethernet Port Commands page 20 96 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 826: ...VLAN Management Commands page 22 26 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 968: ...Ethernet OAM Commands page 25 56 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1014: ...LINK OAM Commands page 26 46 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1036: ...UDLD Commands page 27 22 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1048: ...Port Mapping Commands page 28 12 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1256: ...IPv6 Commands page 30 90 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1276: ...RDP Commands page 31 20 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1372: ...RIP Commands page 33 32 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1702: ...QoS Policy Commands page 39 206 OmniSwitch CLI Reference Guide November 2009...
Page 1718: ...Policy Server Commands page 40 16 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 2018: ...Index Index 6 OmniSwitch 6250 CLI Reference Guide November 2009...