Malith Dadigamuwa
Malith Dadigamuwa

Reputation: 11

Clearcase global search from all vobs

Is there a some sort of global search across all views and VOBS in ClearCase.

I need to find a file called "aaa", and I don't know which vob contains it.

Is there a way to find it?

Upvotes: 0

Views: 437

Answers (1)

VonC
VonC

Reputation: 1323593

cleartool find has a –avobs parameter to start with all the elements, branches, and versions in all the VOBs mounted on the local host.

So:

  • make sure your VOBs are mounted (cleartool mount)
  • make your search in a dynamic view (any dynamic view: the mounted vobs will be accessible there)

That is:

cd m:\myview
# or
cd /views/myview
cleartool find -avobs -name "aaa"

If there is an element named "aaa" in one of the mounted vob, that query will find it.

Upvotes: 3

Related Questions