[p4] Can't add filenames with wildcards [@#%*] in them.
Mark Evans
evansmark at gmail.com
Mon Dec 10 13:37:49 PST 2007
"The "..." wildcard cannot be used with the p4 add command. The "..."
wildcard is expanded by the Perforce server, and, because the server
cannot determine which files are being added, it can't expand the
wildcard. The * wildcard can be used with p4 add, because it is
expanded by the operating system shell and not by the Perforce
Server."
On Dec 10, 2007 2: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