I have a directory tree with sub-directories, and I want to add it to a ClearCase repository. Currently I need to rename the directory, use CC's mkdir, and so forth for every dir. Is there a way to do this automatically (maybe a ClearCase command I don't know about, or a script)?
I would recommend using clearfsimport
.
See:
What is nice with this script is that is will:
mkdir
for adding new directoriesmkelem
for adding new elements.