One way would be to use cleartool ls, and grep for /main/LATEST (or just LATEST if you don't care of the branch selected, depending on your config spec)
cleartool ls -r -view|grep LATEST
Only versioned checked-in file would be listed that way.
Using cleartool find is also a possibility, but would list versions even for files which are checked out, which is not what you want.
See those examples to illustrate the difference.
to list element versions on a branch but exclude checkedout versions
The first example lists all element versions including any CHECKEDOUT versions.
The second example shows how to list all element versions, but excluding any CHECKEDOUT versions.
One way would be to use
cleartool ls, and grep for /main/LATEST (or just LATEST if you don't care of the branch selected, depending on your config spec)Only versioned checked-in file would be listed that way.
Using
cleartool findis also a possibility, but would list versions even for files which are checked out, which is not what you want.See those examples to illustrate the difference.