The ldifmodify command lets you apply changes to LDIF files, generating a new, changed version of the original file.
$ cat changes.ldif dn: uid=user.0,ou=People,dc=example,dc=org changetype: modify replace: description description: This is the new description for Aaccf Amar. - replace: initials initials: AAA $ ldifmodify --sourceLDIF generated.ldif --changesLDIF changes.ldif --targetLDIF new.ldif
Notice that the resulting new LDIF file is likely to be about the same size as the source LDIF file.

