I am using RTC CLI to get the list of source files of a single component in a Repository Workspace. My script looks like this:
lscm list remotefiles -r local --depth - --workspace "Workspace" "Component" > C:\jazz\Filelist.txt
Now I have to list files for all the components in the workspace. I cannot simply remove the "Component" as it is mandatory according to the syntax:
lscm list remotefiles [options] <selector> <component> [remotePath]
Is there any looping technique in RTC CLI that can be used to get filelist from all the components?