How to checkin all checked out files in linux clearcase

This simple csh script loops for any checked out file in the current directory tree and check it in.
Command option:
<li>-cvi: list file for current view only</li>
<li>-rec: search for files recursively from current directory</li>
<li>-s: return file in short name format</li>
<li>-c: add comment to checkin</li>
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
#!/bin/csh foreach name (`cleartool lsco -rec -cvi -s .`) echo $name cleartool ci -c "Comment for file" $name end
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus