1

Using ClearCase, I would like to retrieve all the elements of the VOB that do not have a particular label.

I am trying to do something similar to the following but it doesn't work. Any help ?

cleartool find . -elem '( ! (lbtype(MYLABEL)))' -print
rahmu
  • 5,588
  • 9
  • 35
  • 53

1 Answers1

1

It should be a query similar to:

cleartool find . -elem '! lbtype_sub(MYLABEL)' -print

From cleartool find and query_language:

lbtype_sub (label-type-name)

With elements: TRUE if the element has a version that is labeled label-type-name.

More details in "ClearCase: How to find elements that do NOT have a particular label"

Community
  • 1
  • 1
VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755