To move an element within a VOB

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

To move an element using Rational® ClearCase® Explorer, perform one of the following actions:
  • In the Rational ClearCase Explorer Details pane, drag an element to its destination directory in the Folder pane.
  • In the Rational 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:

  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.
Related concepts
Moving and removing orphaned elements from the lost+found directory
Using rmver and rmelem for removing elements
Before accessing files not loaded into snapshot views
Before renaming elements
Related tasks
To move an element to another VOB
To remove an element name from a directory
To check in files and directories
To check out files and directories

Feedback