It's all about the answers!

Ask a question

How to list all files in multiple components? or in a component?


long TRUONG (3654113145) | asked Apr 03 '20, 5:28 p.m.
edited Apr 03 '20, 5:30 p.m.

 RTC 6.0.4

  • Tasked with deleting specific components
  • Have to settle for removing contents of all versions, but dummy tip version, of all files in these specific components.
Am looking for a simple command, or simple CLI commands, to list all files of a component, or better yet of multiple components (via wildcards?).

Short of the findfile.pl script , as Example 3 in https://jazz.net/library/article/1031

Accepted answer


permanent link
Ralph Schoon (62.3k33643) | answered Apr 04 '20, 6:35 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I doubt the SCM Command Line does have something like this. You could use http://thescmlounge.blogspot.com/2013/08/getting-your-stuff-using-rtc-sdk-to-zip.html to write a small tool.

long TRUONG selected this answer as the correct answer

Comments
long TRUONG commented Apr 05 '20, 12:23 a.m.

Thx Ralph,

This should do: Just have to work harder.

Your answer


Register or to post your answer.