I am having a folder where lot of files and subfolders , adding it to source control via UI is consuming much time.
How to add all the files (including files inside subfolder) to source control using cleartool?
(I am using clearcase UCM)
As mentioned in "How can I use ClearCase to “add to source control …” recursively?", clearfsimport
is the way to go.
However, clearfsimport
will take a source an import it in your view, so:
clearfsimport
command will import... all the files under the root directory you mention)See "Creating a new subdirectory structure in ClearCase?" as an example: you can preview the result of an import first.