@ in p4 filename

Posted by Denise on Stack Overflow See other posts from Stack Overflow or by Denise
Published on 2010-05-27T18:37:54Z Indexed on 2010/05/27 18:41 UTC
Read the original article Hit count: 252

Filed under:
|
|

I'd like to script p4 a little. Unfortunately, some of the filenames that we're tracking have "@" in the filename.

The filenames are in the form [email protected]. If I try to do something like p4 sync a\@b.xml on a mac (or p4 sync [email protected] on windows) it gives the error:

Invalid changelist/client/label/date '@b.xml'

Is there another way to escape it that perforce will recognize?

© Stack Overflow or respective owner

Related posts about scripting

Related posts about escaping