Phil for Humanity

A Guide for the Survival of Humankind, and Improving the World, Society, and Yourself!


Popular Articles
  • Reasons For and Against
    Human Cloning
  • Globalization of the USA
  • The Pros and Cons of
    Capital Punishment
  • World's Stupidest Game

  • Latest Articles

  • Unknown Mushrooms 2
  • Easier Programming Language
  • Managing is Common Sense
  • Improve Cereal Packaging
  • Subscribe to RSS Feed

  • Main Menu

  • HOME
  • SAVE HUMANITY (52)
  • HELP THE WORLD (102)
  • IMPROVE GOVERNMENTS (99)
  • PERSONAL DEVELOPMENT (272)
  • COMPUTER HELP (130)
  • ARCHIVE (all articles)
  • SEARCH THIS SITE
  • CONTACT US
  • DISCLAIMER
  • PLEASE HELP: DONATE

  • ClearCase Support: Finding Labeled Versions


    I am often asked how to find all the versions that have a certain label attached to it. The command is something like this:

    cleartool find . -all -ver 'lbtype(LABEL_NAME)' -print

    This command will start recursively searching in the current directory or ".", but this can be changed to a specific VOB or directory like this example:

    $ cleartool find /vob/test/a/ -all -ver 'lbtype(TEST_LABEL)' -print
    /vob/test/a@@/main/5
    /vob/test/a/b.txt@@/main/1
    /vob/test/a/c@@/main/2
    /vob/test/a/c/d.txt@@/main/1
    /vob/test/a/e.txt@@/main/3


    by Phil B.

    Related Articles
     » ClearCase Support: Finding Branches on Version Trees
     » ClearCase Support: Displaying Comments
     » ClearCase Support: ClearCase's Graphical User Interfaces







    Copyright © 2006-2010, Phil for Humanity. All Rights Reserved.