To move an element from the lost+found directory
About this task
Tip: You
do not need to load the lost+found directory to complete
this procedure from a snapshot view.
Procedure
- To see the UUID of the element, enter the following
command:
- On the UNIX system and
Linux:
% ls VOB-path/lost+found
On Windows systems:
dir VOB-path\lost+found
Each file in the lost+found directory is named as element-name.UUID.
- On the UNIX system and
Linux:
- To move an element to another directory within the
VOB, enter the following command:
- On the UNIX system and
Linux:
For example, from a dynamic view:cleartool mv VOB-path/lost+found/element-name.UUID \ destination-path
% cleartool mv \ /guivob/lost+found/prog.c.5f6815a0a2ce11cca54708006906af65 \ /guivob/int/prog.c
For example, from a snapshot view:% cleartool rmelem \ /guivob/lost+found/prog.c.5f6815a0a2ce11cca54708006906af65
% cd ~/pat_v1.4_cropcircle_sv % cleartool mv \ guivob/lost+found/prog.c.5f6815a0a2ce11cca54708006906af65 \ guivob/int/prog.c
- On Windows systems:
For example, from a dynamic view:cleartool mv VOB-path\lost+found\element-name.UUID ^ More? destination-path
> cleartool mv ^ More? H:\guivob\lost+found\prog.c.5f6815a0a2ce11cca54708006906af65 ^ More? H:\guivob\int\prog.c
For example, from a snapshot view:> cleartool rmelem ^ More? H:\guivob\lost+found\prog.c.5f6815a0a2ce11cca54708006906af65
> cd c:\pat_v1.4_cropcircle_sv > cleartool mv ^ More? guivob\lost+found\prog.c.5f6815a0a2ce11cca54708006906af65 ^ More? guivob\int\prog.c
- On the UNIX system and
Linux:
- To move an element to a different VOB, use cleartool relocate.