Phil for Humanity Phil for Humanity
A Guide for the Survival of Humankind and Helping the World, Society, and Yourself.

ClearCase Support: How to Find Checked Out Elements

Ever wonder how to find all the checked out files in your ClearCase View from the command line?

Here is an example on how to do it while in a View:

$ cleartool lspriv -co
/vob/test/a/b.txt [checkedout]
/vob/test/a/c/d.txt [checkedout]
/vob/test/a/e.txt [checkedout]

You may have noticed that the previous command does not locate directories. It only locates files. So, to find all checked out elements (files and directories) in your View, run this command:

$ cleartool lsco -short -cview -me -avobs

Note that the second command is much slower than the first command.

by Phil for Humanity
on 08/14/2007

Related Articles
 » ClearCase Support: Creating Elements
 » ClearCase Support: Renaming and Moving Elements
 » ClearCase Support: Checked Out But Removed Error