Parameter | Description | Value |
---|---|---|
source-filename |
Specifies the name of the source file. |
The value is a string of case-sensitive characters in the format of [ <drive> ][ <path> ][ <file-name> ]. An absolute <path> name is a string of 1 to 255 characters. A relative <path> name is a string of 1 to 128 characters. Up to 8 levels of directories are supported. An absolute <path> is in the format of <drive> [ <path> ][ <file-name> ], and a relative <path> is in the format of [ <path> ][ <file-name> ]. That is, a relative <path> is the root <path> of the current working <path>. |
destination-filename |
Specifies the name of the destination file or directory. |
The value is a string of case-sensitive characters in the format of [ <drive> ][ <path> ][ <file-name> ]. An absolute <path> name is a string of 1 to 255 characters. A relative <path> name is a string of 1 to 128 characters. Up to 8 levels of directories are supported. An absolute <path> is in the format of <drive> [ <path> ][ <file-name> ], and a relative <path> is in the format of [ <path> ][ <file-name> ]. That is, a relative <path> is the root <path> of the current working <path> . |
all |
Copy the file to all the boards. In VS mode, this parameter is supported only by the admin VS. |
The value is a string of characters. It can be a, al, or all only. |
Usage Scenario
You can run the copy command to back up important data.
Configuration Impact
After the copy command is run, one of the following situations may occur:
Precautions
When coping a file, a user can press Ctrl+C to cancel the operation.
<HUAWEI> pwd cfcard:/ <HUAWEI> dir Directory of cfcard:/ Idx Attr Size(Byte) Date Time(LMT) FileName 0 drw- - Mar 01 2010 14:36:20 bin 1 drw- - Apr 06 2010 08:57:22 dev 2 drw- - Apr 15 2010 11:50:05 etc 3 drw- - Mar 01 2010 14:44:34 lib 4 drw- - Apr 15 2010 09:31:46 mnt 5 drw- - Apr 15 2010 10:14:34 opt 6 drw- - Mar 01 2010 14:30:51 srv 7 drw- - Apr 15 2010 19:45:01 tmp 8 drw- - Apr 06 2010 16:56:46 sys 9 drw- - Apr 08 2010 13:38:45 var 10 drw- - Mar 01 2010 14:35:43 usr 11 -rw- 1,024 Mar 01 2010 14:46:24 .rnd 12 drw- - Mar 01 2010 14:45:41 boot 13 drw- - Mar 03 2010 15:56:02 home 14 dro- - Apr 06 2010 16:56:45 proc 15 drw- - Mar 01 2010 14:44:36 sbin 16 drw- - Mar 29 2010 21:47:33 root 17 drw- - Jun 16 2006 21:20:14 media 18 drw- - Jun 16 2006 22:01:05 subdomain 19 drw- - Mar 01 2010 14:45:59 initrd 20 -rw- 10 Jan 13 2010 15:16:49 sample.txt 10,241,098 KB total (8,135,642 KB free) <HUAWEI> copy cfcard:/sample.txt slave#cfcard:/ Copy cfcard:/sample.txt to slave#cfcard:/?[Y/N] :y .100% complete Info:Copied file cfcard:/sample.txt to slave#cfcard:/...Done. <HUAWEI> cd slave#cfcard:/ <HUAWEI> dir Directory of slave#cfcard:/ Idx Attr Size(Byte) Date Time(LMT) FileName 0 drw- - Mar 01 2010 14:36:20 bin 1 drw- - Apr 06 2010 08:57:22 dev 2 drw- - Apr 15 2010 11:50:05 etc 3 drw- - Mar 01 2010 14:44:34 lib 4 drw- - Apr 15 2010 09:31:46 mnt 5 drw- - Apr 15 2010 10:14:34 opt 6 drw- - Mar 01 2010 14:30:51 srv 7 drw- - Apr 15 2010 19:45:01 tmp 8 drw- - Apr 06 2010 16:56:46 sys 9 drw- - Apr 08 2010 13:38:45 var 10 drw- - Mar 01 2010 14:35:43 usr 11 -rw- 1,024 Mar 01 2010 14:46:24 .rnd 12 drw- - Mar 01 2010 14:45:41 boot 13 drw- - Mar 03 2010 15:56:02 home 14 dro- - Apr 06 2010 16:56:45 proc 15 drw- - Mar 01 2010 14:44:36 sbin 16 drw- - Mar 29 2010 21:47:33 root 17 drw- - Jun 16 2006 21:20:14 media 18 drw- - Jun 16 2006 22:01:05 subdomain 19 drw- - Mar 01 2010 14:45:59 initrd 20 -rw- 10 Jan 13 2010 15:16:49 sample.txt 10,241,098 KB total (8,135,642 KB free)