Search code examples
version-controlclearcase

ClearCase: How can I check-in, check-out multiple files?


Let's assume I'm checking-out and checking-in multiple files for my tasks. Can I make check-in, check-out operations for multiple files at the same time?


Solution

  • I have documented a recursive checkout in 2008 with "How do I perform a recursive checkout using ClearCase?".

    But if you are taking about a specific group of files, not all in the same folders, the cleartool checkout command itself can accept multiple files:

    cleartool checkout  pname ...
                        ^^^^^^^^^
                        Path names of one or more elements to be checked out. 
                        space-separated
    

    Same for cleartool checkin, although you can find and list all checked out files, and check them in, as I mentioned in "Recursive checkin using Clearcase": this time, the files can be in different folders without issue.