批量加入版本控制:
for /f "delims==," %v in ('cleartool ls -view_only -r -short') do cleartool mkelem -nc -mkpath -ci "%v"
找到某些文件,批量删除:
cleartool find . -name *.bak -exec "cleartool rmelem -force \"%CLEARCASE_PN%\"" >d:\Temp\output.log 2>&1
To find view-private files within a snapshot view, use cleartool ls -recurse -view_only
递归检出
cleartool find . -exec "cleartool co -nc \"%CLEARCASE_PN%\""
递归检入
cleartool find . -exec "cleartool ci -identical -nc \"%CLEARCASE_PN%\""
递归lock
cleartool find "D:\my_cc_view\XXX_view\TEST_Dev_VOB\C" -name "*" -exec "cleartool lock ""%CLEARCASE_PN%"""
cleartool find . $file -exec ‘cleartool checkout -nc $CLEARCASE_PN’
Check out当前目录下所有的文件和目录中的文件
阅读(1311) | 评论(0) | 转发(0) |