如何使用'@'处理文件/目录穿着
我有一些文件夹中的“@”。
我似乎无法使它起作用,
>cd fmsn_adc_vs_cdc_clock_reset_integrity@fmsn_adc_vs
>p4 rec -n ...
//depot/icm/proj/i10soc2/fmsn_lib/cdc/dev/fmsn_adc_vs/results/fmsn_adc_vs_cdc/consolidated_reports/fmsn_adc_vs_cdc_clock_reset_integrity%40fmsn_adc_vs/spyglass.log - can't reconcile filename with wildcards [@#%*]. Use -f to force reconcile.
... - no file(s) to reconcile.
>cd .. >p4 rec -n 'fmsn_adc_vs_cdc_clock_reset_integrity@fmsn_adc_vs/...'
Invalid changelist/client/label/date '@fmsn_adc_vs/...'.
No file(s) to reconcile.
我们如何使用'@'处理文件/目录?
我可以参考任何文档吗?
提前致谢。
I have some folders with '@' in it.
I can't seem to make it work
>cd fmsn_adc_vs_cdc_clock_reset_integrity@fmsn_adc_vs
>p4 rec -n ...
//depot/icm/proj/i10soc2/fmsn_lib/cdc/dev/fmsn_adc_vs/results/fmsn_adc_vs_cdc/consolidated_reports/fmsn_adc_vs_cdc_clock_reset_integrity%40fmsn_adc_vs/spyglass.log - can't reconcile filename with wildcards [@#%*]. Use -f to force reconcile.
... - no file(s) to reconcile.
>cd .. >p4 rec -n 'fmsn_adc_vs_cdc_clock_reset_integrity@fmsn_adc_vs/...'
Invalid changelist/client/label/date '@fmsn_adc_vs/...'.
No file(s) to reconcile.
How can we handle files/directories with '@' ?
Is there any documentation I can refer to?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
第一个错误消息为您提供了确切的答案:
只需将
-f
添加到您第一次尝试的命令中:这将自动将
@
转换为%40 < /code>在仓库路径中打开添加文件时。从那时起,如果您需要用名称参考该文件,请使用
%40
代替@
。它仍将在其本地路径中具有@
。The first error message gives you the exact answer:
Just add
-f
to the command you tried the first time:This will automatically translate the
@
to%40
in the depot path when it opens the file for add. From that point on, if you need to refer to that file by name, use%40
in place of@
. It will still have the@
in its local path.