ClearTool: Finding changes from specific date

淺唱寂寞╮ 提交于 2019-12-01 12:23:40
VonC

The find commands I mentioned in "Cleartool - find unloaded/removed files" are for files only.

You can use them for directory if you use -type d (instead of -type f)

But that wouldn't address the date issue.

since a file deletion results in a new directory version (to record that deletion), I would search for all directory versions created on that day:

cleartool find . -type d -version 'created_since(01-Mar) && !created_since(02-Mar)' -print

Then, I would compare with previous versions (cleartool diff -previous) for each of those directory version found, in order to grep and list the deleted files.

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