Creating a Work Area
- Last Updated: April 14, 2026
- 1 minute read
- MarkLogic Server
- Version 12.0
- Documentation
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