Reputation: 53
From every branch and node. Not only in branch of current view.
I have tried using "cleartool rmlabel -rec YOUR_LABEL yourDirectory" . but it removes only current view of version.
Upvotes: 2
Views: 542
Reputation: 1323593
You can try instead to remove the entire label type:
cleartool rmtype -rmall yourlabel@\avob
But be careful, that would remove all instances of that label anywhere in that repo.
See another example of rmtype
with "How to delete a clearcase branch with a single command?" using find and cleartool rmlabel
.
Since you don't want to remove the label in the all vob, only in a given folder, you need to apply a slower solution, searching files with that label in your folder and subfolders:
cd /path/to/your/folder
cleartool find . -version "{lbtype(LABEL)}" -print
If the above line do print version for files in your folder and your subfolder, then try:
cd /path/to/your/folder
cleartool find . -version "{lbtype(LABEL)}" -exec "cleartool rmlabel YOUR_LABEL \"%CLEARCASE_XPN%\""
Upvotes: 1