2014-11-24 160 views

回答

0

你可以嘗試和EXEC子句中結合cleartool find與德爾:

cleartool find . -name "aname" -exec "del \"%CLEARCASE_PN%\"" 

注意\"%CLEARCASE_PN%\",這allwos您與路徑或名稱有文件空間的工作。

現在,如果這些相同的文件實際上是添加到源代碼控制,德爾是不夠的:你需要cleartool rmname(你可以看到one example here

cleartool find . -name "aname" -exec "cleartool rmname \"%CLEARCASE_PN%\"" 

的問題是,你將不得不檢出父先執行這些文件的文件夾,然後再執行cleartool find

相關問題