Command Manual – File System Management
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 File System Management Configuration
Commands
Huawei Technologies Proprietary
1-7
View
User view
Parameter
directory
: Target directory.
Description
Use the
cd
command to enter a specified directory on the Ethernet switch.
The default directory is the root directory of Flash.
Example
# Enter the directory named test.
<Quidway> cd test
<Quidway> pwd
unit1>flash:/test
1.2.2 copy
Syntax
copy
fileurl
-
source fileurl
-
dest
View
User view
Parameter
fileurl
-
source
: Path name or file name of the source file in the Flash.
fileurl
-
dest
: Path name or file name of the destination file in the Flash.
Description
Use the
copy
command to copy a file.
If the
fileurl
-
dest
argument identifies an existing file, the system prompts you for the
confirmation to overwrite the existing file.
Example
# Copy the file from flash:/vrpcfg.cfg into flash:/test/1.cfg.
<Quidway> copy flash:/vrpcfg.cfg flash:/test/1.cfg
Copy unit1>flash:/vrpcfg.cfg to unit1>flash:/test/1.cfg?[Y/N]:y
..
%Copy file unit1>flash:/vrpcfg.cfg to unit1>flash:/test/1.cfg...Done.