2010-07-16 6 views
6

현재 팀 탐색기를 사용하는 Visual Studio와 TFS Power Tools Shell Extensions를 사용하는 Windows 탐색기에서 최신 버전을 구할 수있는 두 가지 방법이 있습니다.일부 콘솔 클라이언트를 사용하여 TFS에서 최신 버전을 구할 수 있습니까?

우리의 TFS 서버는 매우 느리며 응용 프로그램 (VS/Explorer)에서 매우 자주 멈 춥니 다. 그래서 oepration 중에 OS의 부하를 최소화하기 위해 콘솔에 들어가기를 실행하고 싶습니다.

tf.exe와 tfpt.exe에는 Get과 같은 것이 없습니다.

다른 것들이 있습니까?

답변

11

TF.exe에는 get 명령이 있습니다. 다음은 이제 특정 버전을 언급하지 않는 TF.exe get -?

TF - Team Foundation Version Control Tool, Version 10.0.30319.1 
Copyright (c) Microsoft Corporation. All rights reserved. 

Retrieves a read-only copy of a file from Team Foundation Server to the local 
workspace and creates folders on disk to contain it. 

tf get itemspec [/version:versionspec] [/all] [/overwrite] [/force] [/preview] 
     [/recursive] [/remap] [/noprompt] [/login:username,[password]] 

Versionspec: 
    Date/Time   D"any .Net Framework-supported format" 
         or any of the date formats of the local machine 
    Changeset number Cnnnnnn 
    Label    Llabelname 
    Latest version T 
    Workspace   Wworkspacename;workspaceowner 

의 출력,하지만 난 처음 출시 된 이후 TF.exe되었습니다 확신합니다.

해결책 디렉토리의 최신 버전을 다운로드하려면 명령 행에 매핑 된 디렉토리로 이동하고 실행합니다

tf.exe get * -recursive 
+0

감사합니다! 나는 부주의 하''tf | more' – abatishchev