Change file type of many files (text_file or compressed_file or compressed_text_file)

/vobs/myvob/sydney/
list1.c
list2.c
list3.c
.....

Find all text_file and change them to compressed_text_file

cd /vobs/myvob/sydney
cleartool find . -element 'eltype(text_file)' -exec 'echo chtype -force compressed_text_file "$CLEARCASE_PN"' | cleartool

Loading