[p4] Can't add filenames with wildcards [@#%*] in them.
Shawn Hladky
p4shawn at gmail.com
Mon Dec 10 13:29:40 PST 2007
I'm not sure about the error message you're seeing, but 'p4 add ...'
probably isn't doing what you want. '...' is expanded on the server, so the
command is probably just trying to add files that already exist. On UNIX,
you can use:
find . -type f -print | p4 -x - add
Does that give the same error?
On Dec 10, 2007 12:22 PM, 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
>
> _______________________________________________
> 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