Copying A File; Deleting A File - Cisco MDS 9000 Series Configuration Manual

Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

Using the Device File Systems, Directories, and Files
Example:
switch# move test old_tests/test1
The target-filename argument is alphanumeric, case sensitive, and can have a maximum of 64 characters.
Note
If the target-filename argument is not specified, the filename defaults to the source-filename argument
value.
Caution
When you try to move a file from one directory to another, if a file with the same name already exists in
the destination directory, that file is overwritten by the moved file.

Copying a File

You can make copies of files, either within the same directory or in another directory.
• Use the dir command to ensure that enough space is available in the target file system. If enough
Note
• The file system, module, and directory names are case sensitive.
To copy a file, run the following command:
copy [filesystem:[//module/][directory/] | directory/]source-filename | {filesystem:[//module/][directory/]] |
directory/}[target-filename]
Example:
switch# copy test old_tests/test1
• The source-filename argument is alphanumeric, case sensitive, and can have a maximum of 64
Note
• The copy command supports FTP, SCP, SFTP, TFTP, and HTTP protocols.

Deleting a File

If you specify a directory, the delete command deletes the entire directory and all of its contents.
Caution
OL-29291-02
space is not available, use the delete command to remove the files that are no longer required.
characters. If the target-filename argument is not specified, the filename defaults to the
source-filename argument value.
Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide
Copying a File
105

Advertisement

Table of Contents
loading

Table of Contents