{"id":44,"date":"2009-12-07T16:59:00","date_gmt":"2009-12-07T16:59:00","guid":{"rendered":"https:\/\/www.srivittal.com\/wp\/?p=44"},"modified":"2021-08-31T10:13:06","modified_gmt":"2021-08-31T09:13:06","slug":"recursive-checking-of-folders-and-files-into-clearcase","status":"publish","type":"post","link":"https:\/\/www.srivittal.com\/wp\/?p=44","title":{"rendered":"Recursive checking of folders and files into clearcase"},"content":{"rendered":"<p>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.<\/p>\n<ol>\n<li>The source folder is C:workspacesworkspace2ProjectFolder1<\/li>\n<li>The target or destination folder is C:clearcaseprivateview_folder<\/li>\n<\/ol>\n<p>The command to execute is<\/p>\n<div style=\"background-color: black; color: yellow;\">clearfsimport -recurse -preview -nset &#8220;source path&#8221; &#8220;destination path&#8221;<\/div>\n<p>The above command just shows a <b>Preview<\/b> of how the command will work. In order to execute the actual command, remove the -preview switch.<\/p>\n<div style=\"background-color: black; color: yellow;\">clearfsimport -recurse -nset &#8220;source path&#8221; &#8220;destination path&#8221;<\/div>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8220;source path&#8221; &#8220;destination path&#8221; The above &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-44","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry entry-center"],"_links":{"self":[{"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=44"}],"version-history":[{"count":1,"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/44\/revisions"}],"predecessor-version":[{"id":205,"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/44\/revisions\/205"}],"wp:attachment":[{"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}