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

  1. 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.

  2. To move an element to another directory within the VOB, enter the following command:
    • On the UNIX system and Linux:
      cleartool mv VOB-path/lost+found/element-name.UUID \ 
      destination-path
      For example, from a dynamic view:
      % cleartool mv \
      /guivob/lost+found/prog.c.5f6815a0a2ce11cca54708006906af65 \ 
      /guivob/int/prog.c
      % cleartool rmelem \
      /guivob/lost+found/prog.c.5f6815a0a2ce11cca54708006906af65
      For example, from a snapshot view:
      % cd ~/pat_v1.4_cropcircle_sv
      % cleartool mv \
      guivob/lost+found/prog.c.5f6815a0a2ce11cca54708006906af65 \
      guivob/int/prog.c
    • On Windows systems:
      cleartool mv VOB-path\lost+found\element-name.UUID ^
      More? destination-path
      For example, from a dynamic view:
      > cleartool mv ^ 
      More? H:\guivob\lost+found\prog.c.5f6815a0a2ce11cca54708006906af65 ^
      More? H:\guivob\int\prog.c
      > cleartool rmelem ^
      More? H:\guivob\lost+found\prog.c.5f6815a0a2ce11cca54708006906af65
      For example, from a snapshot view:
      > cd c:\pat_v1.4_cropcircle_sv
      > cleartool mv ^
      More? guivob\lost+found\prog.c.5f6815a0a2ce11cca54708006906af65 ^
      More? guivob\int\prog.c
  3. To move an element to a different VOB, use cleartool relocate.