Assuming that you have loads of files that you need to Add to Clearcase source control, the easiest way to do this is to run the following commands.
- The source folder is C:workspacesworkspace2ProjectFolder1
- The target or destination folder is C:clearcaseprivateview_folder
The command to execute is
clearfsimport -recurse -preview -nset “source path” “destination path”
The above command just shows a Preview of how the command will work. In order to execute the actual command, remove the -preview switch.
clearfsimport -recurse -nset “source path” “destination path”
The source path and destination paths can have spaces but must be surrounded with double quotes. If there are no spaces in the paths, they can be given as is. Remember there is a space between the source and destination paths and only one of these commands can run at a time from the same machine.