Using Switch File Systems
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
switch# rmdir slot0:test
This is a directory.
The delete command is also capable of deleting empty and non-empty directories. When you issue this
command a warning is displayed to confirm your intention to delete the directory.
This example deletes the directory called test at the current directory level:
switch# rmdir test
This is a directory.
If the current directory is
Moving Files
The move command removes a file from the source directory and places it in the destination directory.
If a file with the same name already exists in the destination directory, that file is overwritten by the
Caution
moved file.
This example moves the file called samplefile from the root directory of the slot0: file system to the
mystorage directory:
switch# move slot0:samplefile slot0:mystorage/samplefile
This example moves a file from the current directory level:
switch# move samplefile mystorage/samplefile
If the current directory is
s
lot0:mydir/mystorage/sample
Copying Files
The copy command copies a file between file systems within a switch.
Use the dir command to ensure that enough space is available in the target file system. If enough space
Note
is not available, use the delete command to remove unneeded files.
The syntax for the copy command follows and is explained in
switch# copy scheme:[//module/]filename scheme:[//module/]filename
Cisco MDS 9000 Family CLI Configuration Guide
2-30
Do you want to continue (y/n)?
Do you want to continue (y/n)?
, this command deletes the
slot0:mydir
, this command moves
slot0:mydir
file.
Chapter 2
[y] y
[y] y
directory.
slot0:mydir/test
file to
slot0:mydir/sample
Table
2-5:
OL-18084-01, Cisco MDS NX-OS Release 4.x
Before You Begin