The export-ldif command analogous arguments to the import-ldif tool to provide a way to either include or exclude specific attributes or entries during an export. The arguments are summarized as follows:

Argument Description
--includeBranch Base DN of a branch to include in the LDIF export (can be specified multiple times)
--excludeBranch Base DN of a branch to exclude from the LDIF export (can be specified multiple times)
--includeAttribute Attribute to include in the LDIF export (can be specified multiple times)
--excludeAttribute Attribute to exclude from the LDIF export (can be specified multiple times)
--includeFilter Filter to identify entries to include in the LDIF export (can be specified multiple times)
--excludeFilter Filter to identify entries to exclude from the LDIF export (can be specified multiple times)
--excludeOperational Exclude operational attributes from the LDIF export.
--excludeReplication Exclude replication attributes from the LDIF export.
--excludeSoftDelete Exclude soft delete entries from the LDIF export.