Skip to main content

Using MarkLogic Content Pump (mlcp)

Installing mlcp

After downloading mlcp, follow these instructions to install mlcp:

  1. Download mlcp from https://developer.marklogic.com/products/mlcp/.

  2. Unpack the mlcp distribution to a location of your choice. This creates a directory named mlcp-version, where version is the mlcp version. For example, assuming /space/marklogic contains zip file for mlcp version 1.3, then the following commands install mlcp under /space/marklogic/mlcp-1.3/:

    $ cd /space/marklogic
    $ unzip mlcp-1.3-bin.zip
  3. Optionally, put the mlcp bin directory on your path. For example:

    $ export PATH=${PATH}:/space/marklogic/mlcp-1.3/bin
  4. Put the java command on your path. For example:

    $ export PATH=${PATH}:$JAVA_HOME/bin

You might need to configure your MarkLogic cluster before using mlcp for the first time. For details, see Configuring Your MarkLogic Cluster.

On Windows, use the mlcp.bat command to run mlcp. On UNIX and Linux, use the mlcp.sh command. You should not use mlcp.sh in the Cygwin shell environment on Windows.