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

  • Unknown Mushrooms 2
  • Easier Programming Language
  • Managing is Common Sense
  • Improve Cereal Packaging
  • Subscribe to RSS Feed

  • Main Menu

  • HOME
  • SAVE HUMANITY (52)
  • HELP THE WORLD (102)
  • IMPROVE GOVERNMENTS (99)
  • PERSONAL DEVELOPMENT (272)
  • COMPUTER HELP (130)
  • ARCHIVE (all articles)
  • SEARCH THIS SITE
  • CONTACT US
  • DISCLAIMER
  • PLEASE HELP: DONATE

  • ClearCase Support: Recursively Make Elements


    If you need to recursively make elements or import data into a ClearCase VOB, then you can run this small UNIX Perl script to do just that. The benefit of this script, versus the tools that come with ClearCase, is that the user does not have to be VOB owner to import data. Any user account that has write access to a VOB or directory can use this Perl script. Unfortunately, this script can be slow for an extremely large amount of data, yet it is completely automated.

    NOTE: These instructions are no longer valid for ClearCase v6 (2003) or higher. There is now a newer and easier command to use that you can find here.

    Here is how to run this script from the UNIX command line. Keep in mind that the data would need to have been already copied to the View in the exact location of the VOB where the dta will be added.

    $ re_mkelem.pl <NEW_ELEMENT_1> [NEW_ELEMENT_2] ...

    For instance, if you want to add to source control the directory "/vob/tools/ABC" and all the data in this directory, no matter how many recusive sub-directories there are, then you can run these commands:

    $ cd /vob/tools/

    $ re_mkelem.pl ABC

    You can download this Perl script here, or you can copy-n-paste from here:



    This script was written for www.philforhumanity.com.

    by Phil B.

    Related Articles
     » ClearCase Support: How to Copy Data into a VOB
     » ClearCase Support: How to Copy VOB Data
     » ClearCase Support: How to Backup a VOB







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