ClearCase: How to find files not labelled with “LB” on CURRENT Version selected by config spec
问题 For example, the current config spec is "element * /main/LATEST". There is a file "A.txt", its current version is 3 and a label named "LB" was applied on its version 2 before. I want a command to query all files which do not have the label "LB" on its current version. Obviously, file "A.txt" should meet the query. How to write the clearcase command? 回答1: That command could help you: cleartool find . -type f -version "version(/main/LATEST) && !lbtype(LB)" -print That will print all the