I have tons of xxx.cmd files that sit in multiple folders (e.g. child1, child2, child3, etc), they have a parent folder <
I had the same need today and was not very happy with the proposition of using clearfsimport because of the need to make a local copy. This what I have done in a bash environment (msys under windows for me):
find:find parent -name "*.cmd" | tee to_remove_list.txtsort to_remove_list.txt | xargs -i dirname {} | uniq | tee to_checkout.txtcat to_checkout.txt | xargs -i cleartool co -nc {}cat to_remove_list.txt | xargs -i cleartool rm {}cat to_checkout.txt | xargs -i cleartool ci -nc {}rm to_remove_list.txt to_checkout.txt