HP MSR2000/3000/4000 Router Series Fundamentals Command Reference
175
Emergency shell commands
Unless otherwise stated, a file name or path argument for an MSR2000 or MSR3000 is case insensitive
and must indicate the storage medium. The path information might contain multiple levels of directories,
and each can include 1 to 255 characters. The file name alone (without the path information) can
include 1 to 255 characters. The argument, including the storage medium, the path information, and the
file name, can include 1 to 511 characters.
Unless otherwise stated, a file name or path argument for an MSR4000 is case insensitive, and must
indicate the storage medium and contain no slot information. The path information might contain
multiple levels of directories, and each can include 1 to 255 characters. The file name alone (without the
path information) can include 1 to 255 characters. The argument, including the storage medium, the
path information, and the file name, can include 1 to 511 characters.
copy
Use copy to copy a file.
Syntax
copy fileurl-source fileurl-dest
Views
User view
Parameters
fileurl-source: Specifies the name of the file to be copied.
fileurl-dest: Specifies the name of the destination file or directory. If you specify a destination directory,
the system copies the file to the specified directory and uses the name of the source file as the file name.
Usage guidelines
If the destination file already exists, the system prompts whether to overwrite it.
Examples
# Copy the test.cfg file and save it in the same directory as testbackup.cfg.
<boot> copy cfa0:/testcfg.cfg cfa0:/testbackup.cfg
Copy cfa0:/test.cfg to cfa0:/testbackup.cfg?[Y/N]:y
Start to copy cfa0:/test.cfg to cfa0:/testbackup.cfg...Done.
# Copy the test.cfg file and save it in the same directory by using the name of existing file testbackup.cfg.
(The existing file is overwritten.)
<boot> copy cfa0:/testcfg.cfg cfa0:/testbackup.cfg
Copy cfa0:/test.cfg to cfa0:/testbackup.cfg?[Y/N]:y
cfa0:/testbackup.cfg already exists. Overwrite it?[Y/N]:y
Start to copy cfa0:/test.cfg to cfa0:/testbackup.cfg...Done.
delete
Use delete to permanently delete a file.