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 6013677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:35:02+00:00 2026-05-23T02:35:02+00:00

I have a given file on a given child stream. I want to compare

  • 0

I have a given file on a given child stream. I want to compare the version on the stream to the same element on another stream. To do this, I need to figure out if the file has been moved on the child stream so I know what name to look for on the parent stream. However, there doesn’t seem to be an easy way to find rename events using the command line tools.

The only way I could find was to use cleartool diff on each version of the parent directory to look for the diff containing the rename, but it seems like there should be an easier way.

  • 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-23T02:35:03+00:00Added an answer on May 23, 2026 at 2:35 am

    The main options are summarized by this thread and mention a search based on the OID o the file.

    But I would first try a cleartool lsvtree:

    cleartool lsvtree -obs -branch theOtherBranch myFile
    

    Try that from the “source” view (that is the one selecting the file with its current name in the current branch), and see if the lsvtree is able to display the version of that same file on the other branch.

    The OP bradtgmurray reports:

    • lsvtree lists element history with the current name for whatever stream, which isn’t what is needed for detecting renamed file.
    • the thread help suggesting the use of:
      • cleartool desc -fmt '%On' <filename>@@ in the child and
      • cleartool desc -fmt '%n' oid:<oid> in the parent.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I have this given XML file: <root> <node>x</node> <node>y</node> <node>a</node> </root> And I
I have been given a WSDL file and I need to consume a web
I want to use DOM4j for parsing xml file in Java. I have this
given this xml file, i would like to extract the data out from it.
I have to search a given file name (let say Keyword) in a directory
I have a functionality where a user is given file to download. It works
Given I have two File objects I can think of the following implementation: public
I have a data structure which is as given below: class File { public
I have a Windows batch file that processes all the files in a given
I have given a location defined by latitude and longitude. Now i want to

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.