Listing the Contents of a Library
To list the contents of a library, enter the following command:
Operating System
|
Syntax
|
UNIX Windows
|
prolib library-name -list [ file-name ] ...
|
library-name
Specifies the name of the library with the contents you want to list.
file-name
Specifies that PROLIB should list information about that file only; file-name has to be the same absolute or relative pathname as when you originally add the file. You can specify more than one file at a time.
Table 6–2 lists the information that appears in the header section of the output.
Table 6–2: List (-list) Parameter Library Information
Information
|
Description
|
Library Name
|
The name of the library.
|
Code Page
|
The code page in which the library was created.
|
Format
|
The format of the library. The valid library formats are STANDARD and MAPPED.
|
Table 6–3 lists the information that appears in the output for each file in the library.
Table 6–3: List (-list) Parameter File Information
Information
|
Description
|
Name
|
The name of the file.
|
Size
|
The size of the file in the library, in bytes.
|
Type
|
The file type. PROLIB recognizes two file types: R (r-code file type) and O (any other file type). Although libraries are specifically designed to hold r-code files, you can place any type of file in them.
|
Offset
|
The distance, in bytes, of the start of the file from the beginning of the library.
|
Modified
|
The date and time of the file’s last modification.
|
Added To Lib
|
The date and time the file was entered into the library.
You can also change the format of the dates as they appear in the Modified and Added To Lib fields with the -date parameter, where date-format is three letters: m (month), d (day), and y (year). To specify a format, place the letters in the order you want the months, days, and years to appear on screen. The default is mdy.
|