[p4] Question on "p4 sync"
rireland at enterasys.com
Fri Dec 21 12:43:34 PST 2001
Rick Macdonald wrote:
> On Fri, 21 Dec 2001, Andy K Nguyen wrote:
>>Can we use wild card in "p4 sync"?
>> . . .
>>I would like to sync with all files that are associated with English. I
>>can always write a small shell script to remove
>>all the German and French dirs after the sync (p4 sync
>>//depot/projectA/...), but just wondering that whether I can do it at
>>the sync time.
> Maybe I don't understand the problem, but...
> "..." _is_ one of the ways you specify wildcards for sync. Just like
> //depot/projectA/... gives you all the language directories, the following
> only gives you the English directory:
> p4 sync /projectA/moduleA/English/...
I think you are looking for this:
p4 sync //depot/projectA/.../English/...
mailto:rireland at enterasys.com
More information about the perforce-user