Skip to main content

Using MarkLogic Content Pump (mlcp)

Creating a Work Area

This example assumes the following directory hierarchy:

redact-gs/
  data/
  rules/

The data/ directory will hold the source documents. The rules/ directory will hold redaction rules. The example walks you through populating these directories and uploading the contents to MarkLogic using mlcp in preparation for exporting a set of redacted documents with mlcp.

Create the required directories on Linux by running the following command in a location of your choosing:

$ mkdir -p redact-gs/data redact-gs/rules

Create the required directories on Windows by running the following command in a location of your choice:

>mkdir redact-gs\data redact-gs\rules