|Oracle® Fusion Middleware Man Page Reference for Oracle Directory Server Enterprise Edition
11g Release 1 (22.214.171.124.0)
Part Number E28967-01
|PDF · Mobi · ePub|
format input by adding base64 encoding to make it suitable for inclusion in an LDIF file
install-path/bin/ldif [-b] attrtype
ldif command formats input by adding base64 encoding to make it suitable for inclusion in an LDIF file. This makes it easy to include binary data, such as JPEG images, along with other textual attribute values. In an LDIF file, base64 encoded attribute values are indicated as
In addition to binary data, other values that must be base64 encoded include any value that begins with a semicolon (;) or a space, and any value that contains non-ASCII data, including newlines. The
ldif command takes any input and formats it with the correct line continuation and appropriate attribute information.
The following options are supported:
Specifies that the
ldif command should interpret the entire input as a single binary value.
As an alternative to the
-b option, you can use the :<URL specifier notation, which is simpler to use. For example,
jpegphoto:<file:///tmp/myphoto.jpg. Although the official notation requires three
/// the use of one
/ is tolerated.
The following exit values are returned:
An error occurred.
On error, verbose error messages are output to standard output.
attributes(5) for descriptions of the following attributes:
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|