Sorting ensures the parent entries are defined before child entries, and that all entries are logically correct. This can help prevent errors when you load the file.
To sort an LDIF file, use the following command:
ldifsort -b bad-file infile [outfile]
Writes duplicate or bad input records to the specified file.
Specifies the file to be sorted.
Specifies the file to which output is to be written. If you do not use this option, the output is written to the screen or STDOUT.
Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |