Skip to main content

Using MarkLogic Content Pump (mlcp)

Understanding Input File Path Resolution

If you do not explicitly include a URI scheme prefix such as file: on the input file path, mlcp uses the following rules to locate the input path:

  • In local mode, mlcp defaults to the local file system (file).

The following example loads files from the local filesystem directory /space/bill/data:

# Windows users, see Modifying the Example Commands for Windows
$ mlcp.sh import -host localhost -port 8000 -username user \
    -password passwd -input_file_path /space/bill/data -mode local