Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6833859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:02:06+00:00 2026-05-26T23:02:06+00:00

I am using Clearcase dynamic view with a complex config spec. I need a

  • 0

I am using Clearcase dynamic view with a complex config spec. I need a command line command to find files where the version selected by the config spec has a specific property, such as:

  • has a specific label
  • does not have a specific label
  • is on a specific branch
  • etc.

I was looking at the documentation of the cleartool find command, but found no rule such as “version selected by the config spec”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:02:06+00:00Added an answer on May 26, 2026 at 11:02 pm

    A simple

    cleartool describe -l /path/to/your/view/path/to/your/file
    

    should be enough to display all the informations you need.

    Combine that with the fmt_ccase formatting options page, and you can display directly only the label and the branch name:

    cleartool describe -fmt "%Sn %l" /path/to/your/view/path/to/your/file
    

    See:

    %Sn
    

    Short name:
    For a version, a short form of the version ID: branch-pathname/version-number.
    For other objects, the null string.


    Now, if you want to find all files with a version of a specific property within your view, use the -cview option of find.
    See “Additional examples of the cleartool find command“:

    To print all versions selected by your view that have a LABEL applied:

    cleartool find . -cview -version "lbtype(LABEL)" -print
    

    Following the same idea:

    To print all versions selected by your view that are in a given branch:

    cleartool find . -cview -version "brtype(BRNAME)" -print
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using the ClearCase find command, how do I find all files in a directory
is there any way to list files under a clearcase view using the remote
How to create a view using the clearcase command mode? How to create it?
Using a Clearcase Dynamic view, Hudson's job log shows cleartool 's lsview , startview
I am using Clearcase UCM with a dynamic view. (On linux) In my view
We're using RAD with ClearCase plugin as ClearCase Explorer Perspective. I need to make
I have a ClearCase view with a folder, and two files. I check out
How to do check-in /check-out /Find and etc operation in Clearcase UCM using powershell.
I'm using clearcase as version control. Now I have a requirement to update the
I'm using clearcase as version control and JIRA as bug-tracking tool. Currently ccase and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.