Find files in Clearcase view newer than a specific date?

本小妞迷上赌 提交于 2019-11-27 15:19:06
user2099460

You could look for all versions in your view that are older than a date:

ct find -all -type f -version "{created_since(11-apr-2013) && brtype(branch_name)}" -print

Will find all files and avoid directories.

VonC

This is a cleartool find request with a time-based directive from the query language:

(See Additional examples of the cleartool find command)

cleartool find <vobtag> -element "{created_since(target-data-time)}" -print

That will list elements (instead of versions, which would display many checkins versions for every file)

This should work for snapshot or dynamic views, UCM or not ("UCM" being for views attached to an UCM Stream).

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!