Phil for Humanity

A Guide for the Survival of Humankind, and Improving the World, Society, and Yourself!


Popular Articles
  • Reasons For and Against
    Human Cloning
  • Globalization of the USA
  • The Pros and Cons of
    Capital Punishment
  • World's Stupidest Game

  • Latest Articles

  • How to Help Humanity
  • Why Economists Miss the Mark
  • Daylight Saving Time
  • Natural Log Proof
  • Subscribe to RSS Feed

  • Main Menu

  • HOME
  • SAVE HUMANITY (42)
  • HELP THE WORLD (96)
  • IMPROVE GOVERNMENTS (87)
  • PERSONAL DEVELOPMENT (238)
  • COMPUTER HELP (125)
  • ARCHIVE (all articles)
  • SEARCH THIS SITE
  • CONTACT US
  • DISCLAIMER
  • PLEASE HELP: DONATE

  • ClearCase Support: Renaming and Moving Elements


    Ever wonder how to rename or move an element (file or directory) in a VOB?

    Here's how. First, check out the directory where the element is in, since you will be changing the directory listing and not the element itself. This directory is called the "parent directory" of the element. Second, run this command:

    cleartool move OLD_NAME NEW_NAME

    Finally, check in the element’s parent directory.

    Next, to move a file from one directory to another directory within the same VOB, checked out both parent directories of where you are moving the element from and where you are moving the element to. Next, run basically the same command:

    cleartool move OLD_PATH NEW_PATH

    You can even rename the element at this time. Finally, don't forget to checkin both parent directories.

    by Phil B.

    Related Articles
     » ClearCase Support: How to Find Checked Out Elements
     » ClearCase Support: Creating Elements
     » ClearCase Support: How to Delete a View in ClearCase







    Copyright © 2006-2009, Phil for Humanity. All Rights Reserved.