Display common files of 2 streams through RTC CLI
One answer
If you are asking for the intersection of common files between two streams, regardless of their content, you could explore the "list remotefiles", for example:
lscm list remotefiles --depth --workspace <workspace> <component> / > output.txt
The file listing in output.txt files could then be compared against each other.
lscm list remotefiles --depth --workspace <workspace> <component> / > output.txt
The file listing in output.txt files could then be compared against each other.