by
0
8
7,787
31
Top 1% !
Popular
Famous
Pearl of Wisdom
Tagged
Easy-to-find
Specified
OpenSource
Popularity: 776th place
Created
Modified Jul 2, 2013

Published on:

Architecturex86_64
Languagecsh
LicenseMIT_X11
OSLinux

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:
<ul>
<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>
</ul>
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/1722/How-to-checkin-all-checked-out-files-in-?startLine=0"></iframe>
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