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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T23:46:56+00:00 2026-06-06T23:46:56+00:00

I executed the following command in cleartool.exe: cleartool> ! Microsoft Windows XP [Version 5.1.2600]

  • 0

I executed the following command in cleartool.exe:

    cleartool> !
    Microsoft Windows XP [Version 5.1.2600]
    ...
    X:\dyn_view\vob\path>cleartool find . -type l -exec "cleartool describe
%CLEARCASE_PN%" -print

But the element output is always the same regarding exec, albeit being different in print. How to output the correct list in the exec part of the command?

Example output:

symbolic link ".\path\fileA.txt" -> ../../path/fileA.txt
  created ...
.\anypath\fileB.txt
symbolic link ".\path\fileA.txt" -> ../../path/fileA.txt
  created ...
.\anypath\fileC.txt

Where fileA is always the same (part of exec parameter), only fileB, fileC, etc., change (part of print parameter).

  • 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-06-06T23:46:57+00:00Added an answer on June 6, 2026 at 11:46 pm

    Following the example listed in “Additional examples of the cleartool find command“

    X:\dyn_view\vob\path>
    cleartool find . -type l -exec "cleartool describe \"%CLEARCASE_PN%\""
    

    So:

    • no -print at the end
    • ‘\"‘ around %CLEARCASE_PN% to take into account spaces in the path

    Note that you can combine that with fmt_ccase for a refined display:

    cleartool find . -type l -exec “cleartool describe -fmt \”%n %[slink_text]Tp\n\”
    \”%CLEARCASE_PN%\””

    Example:

    Y:\VOB_A>
    cleartool find . -type l -exec "cleartool describe -fmt "%n%[slink_text]Tp\n\n\" \"%CLEARCASE_PN%\""
    .\Directory\createsymlink.txt -->..\..\VOB_B\SymlinkFolder\createsymlink.txt
    

    With:

    %[slink_text]Tp
    

    representing “Target of symbolic link, after link is traversed.”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I executed the following command: find / -type f -name fs-type -exec svnlook tree
When I execute the following command: svnlook changed {path} -r {rev} where {path} is
I executed the following command $ nohup ./tests.run.pl 0 & now when I try
I have executed the following command git add <foo.java> git commit -m add the
So, I set up a cronjob to run the following command: php /var/www/path/to/cron/do-stuff.php The
I want the following script command to be executed automatically when ever I log
In mysql i executed following command REVOKE ALL PRIVILEGES after that i try to
From bash terminal, I successfully executed the following command. curl -v -L -F file='@/var/www/dev/public_html/sixties.mov'
I just installed apache server on my local machine. I executed the following command
in my code, the following command, executed on a powershell prompt r.js -o name=main

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.