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 
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: How to Copy Data into a VOB
Ever need to copy a lot of data into a VOB? The command to add one element at a time is very tedious and could take a long time if you are trying to transfer a huge amount of data. Instead, try using these automated procedures to import data into a VOB.
In this example, let’s say we want to copy a directory, at this location /home/userid/ABC, to the root directory of a VOB, called /vob/tools.
-
First, log into the account that is the VOB owner of the destination VOB. You may need to contact your local administrators for this access.
If you can not attain VOB owner access, you can alternatively run this UNIX script to recursively make elements in a VOB.
-
Set a View that is owned by this account.
-
Next, go to the directory where the data is located.
-
Prepare the data, the ABC directory, to be copied over by exporting it with this command. No changes will be made to the actual data using this command.
The "-r" argument will recursively export all the data in the ABC directory and all sub-directories too. This command will create a "cvt_data" data file in the current directory.
-
Go to the destination directory:
-
Finally, import the data file using this command.
clearimport -v /home/userid/cvt_data
|
The "-v" argument will import the data in verbose mode. Again, no changes will be made to the original data using this command either. You may have to un-checkout the current directory if this command failed for whatever reason, especially if you are going to try re-executing this command.
by Phil B.
|