如何使用'@'处理文件/目录穿着

发布于 2025-02-06 03:58:22 字数 1586 浏览 2 评论 0原文

我有一些文件夹中的“@”。

我似乎无法使它起作用,

>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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一袭白衣梦中忆 2025-02-13 03:58:22

第一个错误消息为您提供了确切的答案:

Use -f to force reconcile. 

只需将-f添加到您第一次尝试的命令中:

p4 rec -n -f ...

这将自动将@ 转换为%40 < /code>在仓库路径中打开添加文件时。从那时起,如果您需要用名称参考该文件,请使用%40代替@。它仍将在其本地路径中具有@

The first error message gives you the exact answer:

Use -f to force reconcile. 

Just add -f to the command you tried the first time:

p4 rec -n -f ...

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文