@在p4文件名中

Den*_*ise 7 scripting perforce escaping

我想稍微编写脚本p4.不幸的是,我们跟踪的一些文件名在文件名中有"@".

文件名在表单中a@b.xml.如果我尝试p4 sync a\@b.xml在mac(或p4 sync a@b.xmlWindows)上执行某些操作,则会出现错误:

无效的changelist/client/label/date'@ b.xml'

还有另一种逃避它的方法,perforce会识别吗?

rav*_*ven 12

是.使用字符十六进制值的ASCII表达式.

p4 sync a%40b.xml

请参阅此文章:文件名和实体中字符的限制.