How to search files by tag

As a header, I would like to list all the files with the specified label in the directory. Can this clearcase command help me do this?

+3
source share
2 answers

cleartool find is a good start.

You can execute them anywhere in your (instant or dynamic) view

To generate a list of those items that contain the tagged version (REL1), use the following syntax for find cleartool:

UNIX and Linux:

% cleartool find -all -element '{lbtype_sub(REL1)}' -print 

Windows:

 cleartool find -all -element "{lbtype_sub(REL1)}" -print 
+9
source

There is also a graphical way to search for objects with a specific shortcut called a report builder (also known in ClearCase Explorer as a report wizard). In the report builder, you can navigate to items / labels that contain the "Items with labels" and "Versions with labels" reports. After running the report, you can save the results as HTML, XML or CSV.

+1
source

Source: https://habr.com/ru/post/1304362/


All Articles