HP Unified Extensible Firmware Interface User Manual
Page 25

fs0:\> comp bios.inf bios2.inf
Compare fs0:\bios.inf to fs0:\bios2.inf
Difference #1:
File1: fs0:\bios.inf
00000000: 5F *_*
File2: fs0:\bios2.inf
00000000: 33 *3*
Difference #2:
File1: fs0:\bios.inf
0000000C: 00 00 00 00 *....*
File2: fs0:\bios2.inf
0000000C: 25 32 03 03 *%2..*
[difference(s) encountered]
cp
Copies one or more source files or directories to a destination.
Syntax
cp
[-r] [-q] src src... [dst]
Options
-r
Creates a recursive copy.
-q
Creates a quiet copy (with no prompt).
src src...
Specifies a source file or directory name. Wild cards are permitted.
dst
Specifies a destination file or directory name. Wild cards are not permitted. If
not specified, then the current working directory is assumed to be the destination.
If more than one directory is specified, then the last is always assumed to be the
destination.
Description
This command copies one or more source files or directories to a destination. If the source is a
directory, the -r flag must be specified. If -r is specified, then the source directory is recursively
copied to the destination (which means that all subdirectories are copied). If a destination is not
specified, then the current working directory is assumed to be the destination.
If any target file (not directory) already exists, a prompt appears asking you to confirm replacing
the file. The following four choices are available:
•
Yes
—Replaces the file.
•
No
—Does not replace the file.
•
All
—Replaces the existing files in all subsequent cases.
•
Cancel
—Does not replace any existing files in all subsequent cases.
If there are multiple source files/directories, the destination must be a directory.
If an error occurs, then the copying process stops immediately.
When executing in a script, the default is –q.
When copying to another directory, the directory must already exist.
Examples
To display the contents of the current directory:
fs0:\> ls
Directory of: fs0:\ 06/18/01 01:02p
06/18/01 01:02p
06/18/01 01:02p
06/13/01 10:00a 28,739 IsaBus.efi
UEFI Shell commands
25