---
title: Filtering data exports
description: Reference for export-ldif arguments that include or exclude branches, attributes, and filters when exporting PingDirectory data.
component: pingdirectory
version: 11.1
page_id: pingdirectory:pingdirectory_server_administration_guide:pd_ds_filter_data_exports
canonical_url: https://docs.pingidentity.com/pingdirectory/11.1/pingdirectory_server_administration_guide/pd_ds_filter_data_exports.html
llms_txt: https://docs.pingidentity.com/pingdirectory/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: September 13, 2023
---

# Filtering data exports

The `export-ldif` command is analogous to the `import-ldif` command to provide a way to include or exclude specific attributes or entries during an export.

**Inclusion and Exclusion Arguments for export-ldif**

| Argument               | Description                                                                                               |
| ---------------------- | --------------------------------------------------------------------------------------------------------- |
| `--includeBranch`      | Base distinguished name (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.                                                         |
