Emergency Shell Commands; Copy - HP MSR Series Command Reference Manual

Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Emergency shell commands

In this chapter, "MSR1000" refers to MSR1002-4. "MSR2000" refers to MSR2003, MSR2004-24,
MSR2004-48. "MSR3000" collectively refers to MSR3012, MSR3024, MSR3044, MSR3064.
"MSR4000" collectively refers to MSR4060 and MSR4080.
Unless otherwise stated, a file name or path argument in this document 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 51 1 characters. (On an MSR1000, MSR2000 or MSR3000.)
Unless otherwise stated, a file name or path argument in this document 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 51 1 characters. (On an MSR4000.)

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 uses the name of the source file as the file name.
Usage guidelines
If the destination file already exists, the system prompts whether or not to overwrite it.
Examples
# Copy the test.cfg file and save it in the same directory as testbackup.cfg.
<boot> copy flash:/testcfg.cfg flash:/testbackup.cfg
Copy flash:/test.cfg to flash:/testbackup.cfg?[Y/N]:y
Start to copy flash:/test.cfg to flash:/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 flash:/testcfg.cfg flash:/testbackup.cfg
Copy flash:/test.cfg to flash:/testbackup.cfg?[Y/N]:y
flash:/testbackup.cfg already exists. Overwrite it?[Y/N]:y
Start to copy flash:/test.cfg to flash:/testbackup.cfg...Done.
182

Advertisement

Table of Contents
loading

Table of Contents