(Base) ClearCase FAQ 1.2.7: How to perform mass checkins?

On Unix:

% cleartool lsco -s -cview -me -avobs -fmt 'ci -nc "%n"\n' | cleartool

The commands above will fail if no changes have been made. You can either insert the -identical flag (lazy and not recommended) or re-run the above once more, this time cancelling the checkouts with unco -rm.

ClearCase::Wrapper comes with a handy ci -revert option, which handles this issue in an efficient and portable way.

Most often, this is done in the context of upgrading third party software. Check the clearfsimport and ClearCase::SyncTree tools.

-- MarcGirod - 21 Jan 2008