How can I use ClearCase to “add to source control …” recursively?

后端 未结 10 1606
暖寄归人
暖寄归人 2020-11-22 08:26

I unpacked a zip-file delivery into a clearcase view. Now I want to add the complete file tree to the repository. The GUI only provides an \"Add to source control ...\" for

10条回答
  •  花落未央
    2020-11-22 08:43

    Since I did not have access to clearfsimport , I added the files/directories in a two step process:

    1.) find . ! -path . -type d | xargs cleartool mkelem -mkpath -nc

    This will create nodes for all new directories recursively

    2.) find ./ -type f | xargs cleartool mkelem -nc

    This will create nodes for all new files recursively

提交回复
热议问题