Tableau api tableau项目名称中的空格导致尝试远程tabcmd命令时出现问题

Tableau api tableau项目名称中的空格导致尝试远程tabcmd命令时出现问题,tableau-api,Tableau Api,我正在尝试使用以下命令从linux设备远程刷新tableau摘录: ./tableau_script.bash refreshextracts --server servername --username username --Password password --project <project name with spaces> --workbook <workbook with spaces> /tableau\u script.bash刷新摘录--服务器服务器

我正在尝试使用以下命令从linux设备远程刷新tableau摘录:

./tableau_script.bash refreshextracts --server servername --username username --Password password --project <project name with spaces> --workbook <workbook with spaces>
/tableau\u script.bash刷新摘录--服务器服务器名--用户名--密码--项目--工作簿
tableau_script.bash是一个bash脚本,带有对tabcmd类的java调用。 我面临的问题是工作簿或项目中的空格,找不到任何方法来逃避此问题,尝试了
\
%20
%20
,但似乎都不起作用。
任何建议。

用这个“\”括起项目名称,您只需避开空格即可

 ./tableau_script.bash refreshextracts --server servername --username username --Password password --project project\ name\ with\ spaces --workbook workbook\ with\ spaces

我肯定您尝试过这个,但只是为了确定--您尝试过用单引号括住项目名称吗?是的,尝试过了,但没有帮助。用反斜杠括住项目名称不会有任何效果。空格需要用反斜杠转义。