linux - 任何人都可以帮助清除命令行问题MarkLogic MLCP

标签 linux syntax-error marklogic mlcp

/home/cent/Desktop/mlcp-1.3-3/bin/mlcp.sh import -mode local \
  -host localhost -port 8046 -username admin -password admin \
  -input_file_path /home/cent/Desktop/mls-developer/unit10/top-songs-source/{songs,images} \
  -output_uri_replace "/home/cent/Desktop/mls-developer/unit10/top-songs-source/{songs,images} ,'/home/cent/Desktop/mls-developer/unit10/top-songs-source/images,'images'"
大家好,
我正在使用cent os 7为Xquery进行MarkLogic University培训。
我正在按照Windows的说明进行操作。我转换了上面的行,但出现错误
ERROR contentpump.ContentPump: Unrecognized argument: /home/cent/Desktop/mls-developer/unit10/top-songs-source/images

最佳答案

我对此并不乐观,但是我怀疑Linux正在扩展它:

-input_file_path /home/cent/Desktop/mls-developer/unit10/top-songs-source/{songs,images}
对此:
-input_file_path /home/cent/Desktop/mls-developer/unit10/top-songs-source/songs /home/cent/Desktop/mls-developer/unit10/top-songs-source/images
也就是说,它将它们拆分为单独的参数,第二个参数对MLCP没有意义。
我认为最简单的解决方案是依次运行两个目录-加载歌曲,然后加载图像。

关于linux - 任何人都可以帮助清除命令行问题MarkLogic MLCP,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63746346/

相关文章:

regex - 使用 sed (或任何其他工具)删除 json 文件中的引号

linux - 如何将shell脚本case语句转换为perl脚本

list - 获取列表的最小值

mysql - 为什么在 UPDATE SET 中使用 AND 关键字时 MySQL 不抛出错误

python -/: '_io.TextIOWrapper' and 'float' 不支持的操作数类型

node.js - 使用 marklogic Nodejs API 阅读大型文档

c - UDP sendto 环回性能

linux - Debian Jessie dist 升级失败

xml - 如何在xpath marklogic中传递变量中的元素名称?

xquery - 如何通过 Xquery 映射调整我的组?