Command Manual - System Management
Quidway S6500 Series Ethernet Switches Chapter 1 File System Management Commands
Huawei Technologies Proprietary
1-2
1.1.2 copy
Syntax
copy fileurl-source fileurl-dest
View
User view
Parameter
fileurl-source: Source file name.
fileurl-dest: Destination file name.
Description
Using copy command, you can copy a file.
When the destination filename is the same as that of an existing file, the system will ask
whether to overwrite it.
Example
# Display current directory information.
<Quidway> dir
Directory of unit1>flash:/
0 -rw- 595 Jul 12 2001 19:41:50 test.txt
31877 KB total (1171 KB free)
# Copy the file test.txt and saves it as test.bak.
<Quidway> copy test.txt test.bak
Copy unit1>flash:/test/test.txt to unit1>flash:/test/test.bak ?[Y/N]:y
%Copy file unit1>flash:/test/test.txt unit1>flash:/test/test.bak
# Display current directory information.
<Quidway> dir
Directory of unit1>flash:/
0 -rw- 595 Jul 12 2001 19:41:50 test.txt
1 -rw- 595 Jul 12 2001 19:46:50 test.bak
31877 KB total (1171 KB free)
1.1.3 delete
Syntax
delete [ /unreserved ] file-url