[p4] Adding with wildcards

Robert Cowham robert at vaccaperna.co.uk
Mon Aug 6 00:19:02 PDT 2007

> It looks like you are on Windows. So the secret incantation is:
> dir /s /b /a-d d:\src| p4 -x- add

It would be nice if Perforce gave a hand to new users and implemented such
stuff within the tool via an extra flag for example. Yes it easy to do using
OS tools and piping, but think of amount of head scratching that could have
been avoided over the years...

More information about the perforce-user mailing list