Is there any was to delete only view private files in CC dynamic view. There are a bunch of eclipsed files and view private files in my view. I need to delete only view private files and retain checked-out and eclipsed files.
I tried following -
cleartool ls -r | grep -v eclipsed | grep -v checkedout | xargs rm -v
But looks like eclipsed files are listed twice with cleartool ls
. So it deletes eclipsed files too :(
cleartool ls -r produces two outputs for an eclipsed
file in dynamic view.
src.mk
src.mk@@ [eclipsed]
So deleting with cleartool ls -rec | grep -v "Rule:" | grep -v "eclipsed" | grep -v "-->" | xargs rm -v
deletes eclipsed files too.