仅在目录中的Cleartool find命令 [英] Cleartool find command within a directory only

查看:50
本文介绍了仅在目录中的Cleartool find命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用以下命令:

  cleartool find.全部不可见打印 

它返回我/vob中每个文件的信息

我真的想将搜索限制在特定目录中,但是我无法获得正确的语法.

例如:

  cleartool查找/vob/dir1/dir2/-all -nvisible -print 

有没有办法做到这一点?谢谢!

解决方案

否,请查看 解决方案

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.

这篇关于仅在目录中的Cleartool find命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆