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

Ivey, William william_ivey at bmc.com
Mon Dec 10 11:32:43 PST 2007


Did you accidentally type something like this:
	p4 add "prefix.*"

The client can't expand * so it assumes it is a literal character.
The correct syntax would be:
	p4 add prefix.*

That way the shell can expand it. (But if there are no files that
match, it will, again, be passed to p4 as a literal.)

-Wm

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Roy Smith
Sent: Monday, December 10, 2007 12:53 PM
To: Perforce User
Subject: [p4] Can't add filenames with wildcards [@#%*] in them.

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