Copy - H3C WX Series Command Reference Manual

Hide thumbs Also See for WX Series:
Table of Contents

Advertisement

Example 2:
Return to the upper directory (Remember to enter a space after the keyword cd).
<Sysname> cd ..
Example 3:
Return to the root directory.
<Sysname> cd /
After you change the current directory using the cd command, you can use the pwd
command to view the path of the current working directory.

copy

Syntax
copy fileurl-source fileurl-dest
View
User view
Default Level
3: Manage level
Parameters
fileurl-source: Name of the source file.
fileurl-dest: Name of the target file or folder.
Description
Use the copy command to copy a file.
If you specify a target folder, the system will copy the file to the specified folder and use
the name of the source file as the file name.
Examples
Example 1:
Copy file testcfg.cfg under the current folder and save it as testbackup.cfg.
<Sysname> copy testcfg.cfg testbackup.cfg
Copy flash:/test.cfg to flash:/testbackup.cfg?[Y/N]:y
....
%Copy file flash:/test.cfg to flash:/testbackup.cfg...Done.
Example 2:
Copy file 1.cfg under the folder test to folder testbackup, and save it as 1backup.cfg.
<Sysname> copy flash:/test/1.cfg flash:/testbackup/1backup.cfg
Copy flash:/test/1.cfg to flash:/testbackup/1backup.cfg?[Y/N]:y
102

Advertisement

Table of Contents
loading

Table of Contents