Further to what Jakob said:

Just for completeness:
If, in fact, you really wanted the copy or export commands for *other*
use-cases in the future, some of the parameters are different (input_host
and output_host for copy as example).

The different parameters depending on which MLCP command you run can be
found here:
https://docs.marklogic.com/guide/ingestion/content-pump#id_55140



Kind Regards,
David Ennis


David Ennis
*Content Engineer*

[image: HintTech]  <http://www.hinttech.com/>
Mastering the value of content
creative | technology | content

Delftechpark 37i
2628 XJ Delft
The Netherlands
T: +31 88 268 25 00
M: +31 63 091 72 80

[image: http://www.hinttech.com] <http://www.hinttech.com>
<https://twitter.com/HintTech>  <http://www.facebook.com/HintTech>
<http://www.linkedin.com/company/HintTech>

On 2 July 2015 at 12:37, Jakob Fix <jakob....@gmail.com> wrote:

> Hi Sachin,
>
> I think you should use the import command (rather than copy, which is
> intended for copying between ML databases).
>
> So, your command should read:
>
> mlcp.bat import -host localhost -port 4373 -username sachin -password
> sachin -input_file_path C:\Users\SHARMAS7\Desktop\documents\xquery
> -transform_module /example/mlcp-transform.xqy -transform_namespace "
> http://marklogic.com/example"; -transform_param "my-value"
>
> (I removed the -mode local because I think that's the default when
> importing).
>
>
>
> cheers,
> Jakob.
>
> On Thu, Jul 2, 2015 at 12:33 PM, Sachin Sharma <sachiins...@gmail.com>
> wrote:
>
>> Hello I am trying to apply ml content pump ingestion(using function to
>> transform xml documents) on my local ml (windows) using mlcp
>> tutorials.Following is linux command for ingestion (From mlcp tutorials)
>>
>> mlcp.sh copy -mode local -host localhost -port 4373 -username sachin
>> -password sachin -input_file_path /users/sachin/ -transform_module
>> /example/mlcp-transform.xqy -transform_namespace "
>> http://marklogic.com/example"; -transform_param "my-value"
>>
>> Following is equivalent for above linux commands on windows
>>
>> mlcp.bat copy -mode local -host localhost -port 4373 -username sachin
>> -password sachin -input_file_path
>> C:\Users\SHARMAS7\Desktop\documents\xquery -transform_module
>> /example/mlcp-transform.xqy -transform_namespace "
>> http://marklogic.com/example"; -transform_param "my-value"
>>
>> When above windows commands is being executed it is giveing error "Error
>> Parsing  Option Invalid option -host"
>>
>> So can someone into windows commands and correct  it.Any help is
>> appreciated.
>>
>> Thanks
>> Sachin Sharma
>>
>> _______________________________________________
>> General mailing list
>> General@developer.marklogic.com
>> Manage your subscription at:
>> http://developer.marklogic.com/mailman/listinfo/general
>>
>>
>
> _______________________________________________
> General mailing list
> General@developer.marklogic.com
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to