Moving multiple files in TFS Source Control

前端 未结 4 1948
猫巷女王i
猫巷女王i 2021-01-29 21:19

I\'m using Team Foundation Server 2008 (SP 1) and I need to move multiple files from one folder to another (to retain file history). In addition to Team Explorer (with SP 1) I\

4条回答
  •  一向
    一向 (楼主)
    2021-01-29 21:53

    Use rename instead of move

    tf.exe rename "$/PROJECT/SharedLibs/Log4Net/*.*" "$/PROJECT/SharedLibs/3rdParty/"
    tf.exe rename "$/PROJECT/SharedLibs/ZipLib/*.*" "$/PROJECT/SharedLibs/3rdParty/"
    

    Check it out the help documentation: TFS Command Line Reference

提交回复
热议问题