Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to list files inside all components using a single command in CLI?

Hi,

I am using Command Line Interface for SCM in RTC.
I am able to get files inside a single component by using remotefiles command.
However our requirement is to get files inside all components without giving separate command for each component.

Can this be done using CLI? Is there any looping possible within a workspace for all the components.

RTC version: 6.0.1

0 votes


Accepted answer

Permanent link
You can write a script to achieve this functionality. Take a look at Example 3 in https://jazz.net/library/article/1031
Shuchita Tripathi selected this answer as the correct answer

0 votes

Comments

Thank you Shashikant!!

A script is still multiple command so your requirement

However our requirement is to get files inside all components without giving separate command for each component.

can not be met.


One other answer

Permanent link
I find the requirement questionable and I don't think that this is doable.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 1,202
× 113

Question asked: Jul 18 '16, 1:44 a.m.

Question was seen: 3,291 times

Last updated: Aug 16 '16, 5:49 a.m.

Confirmation Cancel Confirm