Rational Heritage

 View Only
  • 1.  Labeling multiple files

    Posted Wed September 14, 2016 06:36 PM

    Is there an alternative to applying lables one at a time using Clearcase view? I'd like to avoid doing them one at a time since we have 100s. 



  • 2.  RE: Labeling multiple files

    User Group Leader
    Posted Thu September 15, 2016 07:44 PM

    Hi Riley,

    You asked:

       "Is there an alternative to applying lables one at a time using Clearcase view? I'd like to avoid doing them one at a time since we have 100s"

    The answer is:

       Yes, you can apply a label to a mass of file/directorry elements, in fact it is the most common way that labels are applied.

                    cleartool mklabel –nc  THE_LABEL *                   (to get all files in a directory)

           or

                    cleartool mklabel  -nc –rec THE_LABEL .            (note the '.' at the end - to get the current directory and all files and directories recursively)

    Sounds like you are a new user of ClearCase,  there is FREE  ClearCase online training here:

                    http://abs-consulting.com/_training/abs_university_gate.php

       - ClearCase Fundamentals (Unix)             

       - ClearCase Fundamentals (Windows)   

       - ClearCase UCM Fundamentals               

       - ClearCase Policy & Metadata  

       - ClearTrigger & ClearReplica modules  

    Hope this helps.

    -Charles

                A Better Solution, Inc.
    IBM Rational Premier Business Partner
         providing IBM Certified Specialists
    ----------------------------------------------------
    Charles Clarke III              

    Sr. ClearCase Architect
    A Better Solution, Inc.      
                                                  
    Email: charles@abs-consulting.com
              http://www.abs-consulting.com



  • 3.  RE: Labeling multiple files

    Posted Fri September 16, 2016 07:38 PM

    thanks so much, Charles. This is really helpful. I'm looking forward to that training to help me get through future issues.