[p4] Can't add filenames with wildcards [@#%*] in them.
Gabor Maghera
gmaghera at gmail.com
Mon Dec 10 11:28:16 PST 2007
OK, it's the ... that's causing it. The ellipsis in p4 add is expanded by
your file system, not by Perforce. So it is not working as a wildcard. Try
using * instead - yeah, I know it's not recursive, but a shell script can
help with that.
Gabor
On Dec 10, 2007 11:22 AM, Roy Smith <smith_roy at emc.com> wrote:
> That just gets me:
> free:2.5.1$ p4 add -n -f ...
> Can't add filenames with wildcards [@#%*] in them.
> Use -f option to force add.
>
>
> On Dec 10, 2007, at 2:19 PM, Gabor Maghera wrote:
>
> 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
> >
>
>
> -------------------
> 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
>
>
More information about the perforce-user
mailing list