2011-10-25 2 views
3

클라이언트가 저장소에서 특정 폴더에 대한 매핑 정보를 얻는 명령이 있습니까?Perforce 저장소/클라이언트 매핑

예 :

나는 클라이언트가이 위치를지도 정보를 알고 싶은 저장소 위치 //depot/myfolder/somefile.java

이 경로 :

// CLIENT1/C : 나는 "P4 클라이언트"에서이 정보를 얻을 수 있지만 특정 폴더에 대한 현재의 클라이언트입니다하지

/folder1/somefile.java //client2/d:/folder2/somefile.java .../파일.

감사합니다, 빅터

당신은 P4 클라이언트가 클라이언트 목록 명령을 사용하여 작은 스크립트와 함께 할 수

답변

2

:

p4 help clients 

clients -- Display list of clients 
workspaces -- synonym for 'clients' 

p4 clients [-u user] [-e nameFilter -m max] 

Lists all client workspaces currently defined in the server. 

The -u user flag lists client workspaces that are owned by the 
specified user. 

The -e nameFilter flag lists workspaces with a name that matches 
the nameFilter pattern, for example: -e 'svr-dev-rel*' 

The -m max flag limits output to the specified number of workspaces. 

을 다음에

p4 client -o <client name> 

를 사용하여 각 클라이언트 반복 클라이언트 사양을 나열하고 마지막으로 관심있는 경로를 검색하십시오.