H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – File System Management
H3C S7500 Series Ethernet Switches Chapter 1
File System Management Commands
1-2
Examples
# Change the current directory to the one named “test” in the flash.
<H3C> pwd
flash:
<H3C> cd test
<H3C> pwd
flash:/test
# Enter the root directory of the CF card.
<H3C> cd cf:
<H3C> pwd
cf:
1.1.2 copy
Syntax
copy fileurl-source fileurl-dest
View
User view
Parameters
fileurl-source: Path name and file name of the source file.
fileurl-dest: Path name and file name of the destination file.
Description
Use the copy command to copy a file to a specified path with specified name.
You can use this command to copy a file in the current directory to another directory or
copy a file in a directory to the current directory. Make sure the path and the file
identified by the fileurl-source argument exist when executing this command.
If the fileurl-dest argument identifies an existing file, the system prompts you for the
confirmation to overwrite the existing file.
Examples
# Display the information about the files in the current directory.
<H3C> dir
Directory of flash:/
0 -rw- 4 Mar 09 2006 13:59:19 snmpboots
1 -rw- 16215134 Apr 04 2006 16:36:20 S7500.app
2 -rw- 553 Jan 21 2006 17:05:55 diaginfo.txt