3Com Switch 7750 Series
Command Reference Guide – File System Management Chapter 1 File System Management Commands
1-2
Example
# Change the current directory to the one named test in the flash.
<3Com> pwd
flash:
<3Com> cd test
<3Com> pwd
flash:/test
# Enter the root directory of the CF card.
<3Com> cd cf:
<3Com> pwd
cf:
1.1.2 copy
Syntax
copy fileurl-source fileurl-dest
View
User view
Parameter
fileurl-source: Path name and file name of the source file in the Flash.
fileurl-dest: Path name and file name of the destination file in the Flash.
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.
Example
# Display the information about the files in the current directory.
<3Com> dir
Directory of flash:/
0 -rw- 4 Mar 09 2006 13:59:19 snmpboots
1 -rw- 16215134 Apr 04 2006 16:36:20 S6500-VRP310-E3128.app
2 -rw- 553 Jan 21 2006 17:05:55 diaginfo.txt
3 -rw- 3906 Apr 04 2006 17:23:54 vrpcfg.cfg