Bug: 1428
Synopsis: import-ldif could allow to write skipped entries to a specified file
Proposed solution
-------------------------------
I've added an option to the import tool so that the skipped entries (the entries that do not match criteria) are logged in a given file if required.
Additionally the option -O, --overwriteRejects has been renamed into:
-O, --overwrite. This option is now common to both reject file and skip file.
Indeed if a user wants to append or overwrite a reject file, it is likely that he wants the same for the skip file.
The new option is -K (--skipFile), the updated option is -O (--overwrite)
The usage:
This utility may be used to import LDIF data into a Directory Server backend
Usage: java org.opends.server.tools.ImportLDIF {options}
where {options} include:
-V, --version
Display Directory Server version information
...
-R, --rejectFile {rejectFile}
Write rejected entries to the specified file
-K, --skipFile {skipFile}
Write skipped entries to the specified file
-O, --overwrite
Overwrite an existing rejects and/or skip file rather than appending to it
...