It's all about the answers!

Ask a question

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


Shuchita Tripathi (30423180) | asked Jul 18 '16, 1:44 a.m.
edited Jul 31 '16, 8:58 p.m. by David Lafreniere (4.1k7)
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

Accepted answer


permanent link
Shashikant Padur (3.9k27) | answered Jul 18 '16, 4:07 a.m.
JAZZ DEVELOPER
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

Comments
Shuchita Tripathi commented Aug 16 '16, 5:21 a.m.

Thank you Shashikant!!


Ralph Schoon commented Aug 16 '16, 5:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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
Ralph Schoon (55.1k23642) | answered Jul 18 '16, 2:56 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I find the requirement questionable and I don't think that this is doable.

Your answer


Register or to post your answer.