Using the Device File Systems, Directories, and Files
DETAILED STEPS
Command or Action
Step 1
pwd
Example:
switch# pwd
Step 2
dir [filesystem:[//module/][directory]]
Example:
switch# dir bootflash
Step 3
move [filesystem:[//module/][directory /] |
directory/]source-filename
{{filesystem:[//module/][directory /] |
directory/}[target-filename] | target-filename}
Example:
switch# move test old_tests/test1
Copying Files
You can make copies of files, either within the same directory or on another directory.
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.
SUMMARY STEPS
1. (Optional) pwd
2. (Optional) dir [filesystem:[//module/][directory]]
3. copy [filesystem:[//module/][directory/] | directory/]source-filename | {filesystem:[//module/][directory/]]
| directory/}[target-filename]
DETAILED STEPS
Command or Action
Step 1
pwd
Example:
switch# pwd
OL-30890-01
Purpose
(Optional)
Displays the name of your current default directory.
(Optional)
Displays the contents of the current directory. The file system and
directory name are case sensitive.
Moves a file.
The file system, module, and directory names are case sensitive.
The target-filename argument is alphanumeric, case sensitive, and
has a maximum of 64 characters. If the target-filename argument
is not specified, the filename defaults to the source-filename
argument value.
Purpose
(Optional)
Displays the name of your current default directory.
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
Copying Files
111