Date – HP Unified Extensible Firmware Interface User Manual

Page 26

Advertising
background image

06/13/01 10:00a 32,838 IsaSerial.efi
06/18/01 08:04p 29 temp.txt
06/18/01 08:05p <DIR> 512 test
3 File(s) 61,606 bytes
4 Dir(s)

To copy a file in the same directory and change the file name :

fs0:\> cp temp.txt readme.txt
copying fs0:\temp.txt -> fs0:\readme.txt
- [ok]

To copy multiple files to another directory:

fs0:\> cp temp.txt isaBus.efi \test
copying fs0:\temp.txt -> fs0:\test\temp.txt
- [ok]
copying fs0:\isaBus.efi -> fs0:\test\IsaBus.efi
- [ok]

To copy multiple directories recursively to another directory:

fs0:\> cp -r test1 test2 boot \test
copying fs0:\test1 -> fs0:\test\test1
copying fs0:\test1\test1.txt -> fs0:\test\test1\test1.txt
- [ok]
copying fs0:\test2 -> fs0:\test\test2
copying fs0:\test2\test2.txt -> fs0:\test\test2\test2.txt
- [ok]
copying fs0:\boot -> fs0:\test\boot
copying fs0:\boot\shell.efi -> fs0:\test\boot\shell.efi
- [ok]

To see the results of the above operations:

fs0:\> ls \test
Directory of: fs0:\test 06/18/01 01:01p <DIR> 512 .
06/18/01 01:01p <DIR> 0 ..
01/28/01 08:21p <DIR> 512 test1
01/28/01 08:21p <DIR> 512 test2
01/28/01 08:21p <DIR> 512 boot
01/28/01 08:23p 29 temp.txt
01/28/01 08:23p 28,739 IsaBus.efi
2 File(s) 28,828 bytes
5 Dir(s)
Shell>

date

Displays and sets the current date for the system.

Syntax

date

[mm/dd/ { yy | yyyy }] [-sfo]

Options

mm

Specifies the month of the date to be set (1-12).

dd

Specifies the day of the date to be set (1-31).

yy

Specifies a two-digit year date.

yyyy

Specifies a four-digit year date.

-sfo

Specifies a standard-format output display.

26

UEFI Shell command reference

Advertising
This manual is related to the following products: