[p4] Can't add filenames with wildcards [@#%*] in them.

Gabor Maghera gmaghera at gmail.com
Mon Dec 10 11:19:41 PST 2007


Try using p4 add -n -f ...

The -f flag will allow files with special characters in their filename and
the -n flag will display which files would be opened for add without making
any changes.  Then browse through the output of the command.

Take a look at the help for p4 add before doing this, as the special
characters in the filenames are going to be formatted into hex
representation. Not sure if the p4 add output will show you the original
file names or the modified one.

Cheers,
Gabor

On Dec 10, 2007 10:53 AM, Roy Smith <smith_roy at emc.com> wrote:

> I'm trying add a new source tree to my depot by doing "p4 add ...",
> but get the message:
>
> Can't add filenames with wildcards [@#%*] in them.
>
> As far as I can tell, I don't have any filenames with those
> characters in them.  Is there any way to have p4 tell me exactly
> which pathnames it's not happy with?
>
> -------------------
> Roy Smith <smith_roy at emc.com>
> Software Guy, EMC Common Management Group
> 44 South Broadway, 7th floor
> White Plains, NY 10601
> (914) 580-3427
> AIM: roysmith649
>
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>


More information about the perforce-user mailing list