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+found
rmelem
, 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
rmelem
when deleting elements or symbolic linkslost+found
directory.
while content oflost+found
typically 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 runrmelem
recursively inlost+found
without first verifying contents.if need save element in
lost+found
, catalog in versioned directory usingmv
explained in previous section
actually, clearcase ucm, impossible rmelem
element history, because of hyperlink compromised (related baselines mainly).
Comments
Post a Comment