如何按标签搜索文件 [英] How to search files by label
本文介绍了如何按标签搜索文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
作为标题,我想在目录下列出所有带有给定标签的文件。哪个clearcase命令可以帮助我做到这一点?
As title, I'd like to list all the files with a given label under a directory. Which clearcase command can help me to do that ?
推荐答案
cleartool查找是一个好的开始。
您可以在(快照或动态)视图中的任何位置执行这些操作
You can execute those anywhere within your (snapshot or dynamic) view
要生成包含附加有预定标签(REL1)版本的那些元素的列表,请使用cleartool find命令的以下语法:
To generate the list of those elements which contain a version with a predetermined label (REL1) attached, use the following syntax of the cleartool find command:
UNIX和Linux:
UNIX and Linux:
% cleartool find -all -element '{lbtype_sub(REL1)}' -print
Windows:
cleartool find -all -element "{lbtype_sub(REL1)}" -print
这篇关于如何按标签搜索文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文