R3204P16-HP Load Balancing Module System Maintenance Command Reference-6PW101
72
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
# Copy file testcfg.cfg in the current folder and save it as testbackup.cfg.
<Sysname> copy testcfg.cfg testbackup.cfg
Copy cfa0:/test.cfg to cfa0:/testbackup.cfg?[Y/N]:y
....
%Copy file cfa0:/test.cfg to cfa0:/testbackup.cfg...Done.
# Copy file 1.cfg in the test folder on cfa0 to the testbackup folder in the first partition of the CF card, and
save it as 1backup.cfg.
<Sysname> copy cfa0:/test/1.cfg cfa0:/testbackup/1backup.cfg
Copy cfa0:/test/1.cfg to cfa0:/testbackup/1backup.cfg?[Y/N]:y
%Copy file cfa0:/test/1.cfg to cfa0:/testbackup/1backup.cfg...Done.
delete
Syntax
delete [ /unreserved ] file-url
View
User view
Default level
3: Manage level
Parameters
/unreserved: Permanently deletes the specified file, and the deleted file can never be restored.
file-url: Name of the file to be deleted. Asterisks (*) are acceptable as wildcards. For example, to remove
files with the extension of .txt in the current directory, you may use the delete *.txt command.