To move an element within a VOB

About this task

You can move an element or VOB symbolic link to another location within the VOB.

To move an element using DevOps ClearCase® Explorer, perform one of the following actions:
  • In the ClearCase Explorer Details pane, drag an element to its destination directory in the Folder pane.
  • In the ClearCase Explorer Details pane, right-click an element and click Cut. In the Details pane, right-click the destination directory and click Paste.

This operation changes the location (and optionally, the name) of an element or VOB symbolic link. For a file element that is checked out to your view, it relocates the checked-out version also. (That is, it moves the view-private file with the same name as the element.) If the version is checked out to another view, you receive a warning message that you have view-private data that may need to be moved.

To move an element using the command line, perform the following actions:

Procedure

  1. Check out the parent directory and the destination directory.
  2. Enter the following command:
    
    cleartool mv element-name destination-directory
    
  3. Check in the new parent directory and the source directory.