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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:11:47+00:00 2026-05-18T06:11:47+00:00

I am trying to copy some files out of ClearCase using PowerShell. I don’t

  • 0

I am trying to copy some files out of ClearCase using PowerShell. I don’t need to actually check them out – it’s part of a build process, so I just want to be able to grab copies of them.

My guess is that I need to use cleartool, perhaps with “find”, but I’m having trouble actually getting to the files that I want. No matter what “paths” I use I always get an error message. For example:

cleartool find My_VOB\A_Folder\A_Subfolder -print

gives me the error message, “No such file or directory.”

I’m trying to make this script reusable by everyone in our development group, so I’d prefer not to have it tied to any specific view. Do I need to create a view on the fly to work with ClearCase?

  • 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-18T06:11:48+00:00Added an answer on May 18, 2026 at 6:11 am

    If you want to copy files, you need a view to access them.
    (That is what a ClearCase view, either dynamic or snapshot, is for: accessing specific versions of files)

    Either that view exists (and its root path is passed as a parameter) or it don’t (in which case I strongly recommend a dynamic view for those kind if reading access)

    Even though a cleartool find can list versions not visible in the current view, it still needs a view as a starting point.
    A lot of other find examples are available in this IBM article “Additional examples of the cleartool find command“.


    This thread lists some causes for the “no such file or directory” error message.
    (like being in a private directory, as in “non-versionned directory”)


    This case shows an example of Powershell script using CAL (the ClearCase Automation Library)

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

Sidebar

Related Questions

I am trying to copy over some files pulled out from a zip folder,
I am trying to upload some files using the multiple upload file field. The
I'm trying to create a small application that will copy some .jar files into
I'm having a hard time trying to tar some files using the compress library.
I got some troubles trying to copy char to char... Here's args[] definition :
I am trying to copy all of my output files from the solution target
I am trying to copy the contents of certain folders to another folder using
I'm trying to copy a directory using the Ant copy task. I am a
I'm trying to do some work between java and r (using some of the
I am trying to copy some zipped file from FTP to my local system

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.