clearcase - Whats the easiest way to completely remove a directory element & all its sub-contents from VOB? -
what know is, using rmelem remove folder first, , cause of child elements moved lost+found.
then, go lost+found, , repeatedly execute rmelem * until of elements removed.
is there better way?
the technote lost+found quite clear:
if rmelem directory, content indeed moved lost+found, has lost+found. technote adds:
note: if directory element deleted
lost+foundrmelem, contents moved lost+found in same manner described in first section above.
that why try rmelem files first, directories, in order avoid trip (or several trips) in lost+found.
except rmelem anything, same technote warns:
use
rmelemwhen deleting elements or symbolic linkslost+founddirectory.
while content oflost+foundtypically consists of unwanted elements , symbolic links, in circumstances can contain elements cataloged elsewhere in vob (that is, not orphaned) associated symbolic or hard links.
reason, not runrmelemrecursively inlost+foundwithout first verifying contents.if need save element in
lost+found, catalog in versioned directory usingmvexplained in previous section
actually, clearcase ucm, impossible rmelem element history, because of hyperlink compromised (related baselines mainly).
Comments
Post a Comment