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
Working at Big Companies
Companies are Taking Over the World
Hyper-Critical
Nuclear Power Plants
Subscribe to 
Main Menu
HOME
SAVE HUMANITY
(35)
HELP THE WORLD
(84)
IMPROVE GOVERNMENTS
(69)
PERSONAL DEVELOPMENT
(177)
COMPUTER HELP
(37)
ARCHIVE (all articles)
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
|
If you have any other ClearCase questions, please do not hestitate to contact me for free advice.
by Phil B.
|