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

Stephen Vance steve at vance.com
Mon Dec 10 11:23:44 PST 2007


It looks like a misleading message.

You can't use '...' to add files. That is a Perforce wildcard and you're 
trying to reference files that Perforce doesn't know about yet.

Adding files is platform-specific. On Unix-like systems, use 'find'. On 
Windows, use 'dir /s/a/b'. For both of those from the command line, you 
pipe it to 'p4 -x - add'. In P4Win, you can drag and drop. P4V lets you 
do it directly through the "Add Files" command. With P4EXP, you can do 
it from Windows Explorer.

See Tech Note 2 for the exact command syntax if you need it.

Steve

Roy Smith 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
>
>   

-- 
Stephen Vance
www.vance.com


More information about the perforce-user mailing list