I'm using the following command:
cleartool find . -all -nvisible -print
Its returning information for every file in my /vob
I really want to limit the search to a specific directory, but I can't get the syntax correct.
Ex:
cleartool find /vob/dir1/dir2/ -all -nvisible -print
Is there a way to do this?
Thanks!
No, by looking at the documentation of cleartool find
:
-a/ll
With pname arguments, modifies the meaning of each argument to specify its entire VOB, not just a single file or directory.
Without any pname arguments, specifies the VOB containing the current working directory.
Note: When you use find -all, only one instance of an element is reported, even if one or more VOB hard links point to the element. Either the element name or one of the VOB hard links is displayed.
Try without the -all
to see if it still fits your need.
cleartool find /vob/dir1/dir2/ -print
However, that will only find visible elements, -nvis
is only used with -all
for a vob-wide search.