Home:ALL Converter>find list of files not modified for last 30 days in clearcase

find list of files not modified for last 30 days in clearcase

Ask Time:2016-08-05T11:19:27         Author:user2636464

Json Formatter

I need to find list of files which are not modified for last 30 days. This means there should be no version of the file under any branch in last 30 days. is this possible in base clearcase?

Author:user2636464,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/38780553/find-list-of-files-not-modified-for-last-30-days-in-clearcase
VonC :

Try first, from the query_language and cleartool find, the syntax \n\ncleartool find <vobtag> -element \"!{created_since(target-data-time)}\" -print\n\n\n\n\nIf that does not work, you would then have to fallback to:\n\n\nlist all files with a version created in the last 30 days\nlist all files and extract the ones which are not part of the first list.\n\n\nRegarding said first list (from \"How to determine the last time a VOB was modified\"), using cleartool find:\n\ncleartool find <vobtag> -element \"{created_since(target-data-time)}\" -print\nor\ncleartool find <vobtag> -version \"{created_since(target-data-time)}\" -print\n\n\nThat document also mentions cleartool lshistory -minor -all ., but that unreliable as it uses local metadata that can be scrapped at any time.\n\nFor the second list:\n\ncleartool find . -cview -ele -print \n",
2016-08-05T05:55:15
yy