Thursday, October 22, 2009

find files in ClearCase vobs by Issue number

IBM ClearCase is a Software Configuration Management tool used to keep concurrent versioning of the files (like CVS, SVN and others )

to find a particular files checked-in under certain issue use this command :

>VOBS=/path/to/ClearCaseVobs #vobs is the directories that keep the files in
>cd $VOBS
>for vob in * ;do cd $vob ; echo "***** $vob ******" ; ct find . -version 'ISSUE=="EJBTHREE-1551"' -print; cd ../ ; done;

#this will list all file versions checked-in under EJBTHREE-1551

No comments: