Find files by branch, file type and label

Search files by branch

cd /vobs/myvob/sydney

cleartool find . -type f -branch "brtype(branch_dev)" -print

or

cleartool find . -element -branch "brtype(branch_dev)" -print

Search files by file type (text file)

cd /vobs/myvob/sydney

cleartool find . -element 'eltype(text_file)' -print

# Find and do some task
cleartool find . -element 'eltype(text_file)' -exec 'echo chtype -force compressed_text_file \"$CLEARCASE_PN\"' | cleartool

Search files by LABEL

cd /vobs/myvob/sydney

cleartool find . -element "{lbtype_sub(MY_LABEL_TO_SEARCH)}" -print

Loading