It's all about the answers!

Ask a question

How to see component folder structure using RTC SCM command ?


Kaushambi Singh (371310379) | asked Mar 31 '13, 2:50 a.m.
Is there a scm command on RTC CLI to to see the folder structure of a component on stream?

Accepted answer


permanent link
Toshi Kajiwara (7123) | answered Mar 31 '13, 11:16 p.m.
lscm list remotefiles command can be used.  Please see the following reference.

http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m2/topic/com.ibm.team.scm.doc/topics/list_remotefiles.html

The following shows all paths under component1 in repository workspace called "RWS1"
lscm list remotefiles -r https://host1.ibm.com:9443/ccm -u user1 -P user1 --depth - -w RWS1 component1

Hope it helps.
Kaushambi Singh selected this answer as the correct answer

Comments
Kaushambi Singh commented Apr 01 '13, 9:27 a.m.

Hi Toshi,

Thanks alot for your answer. It was really a help. But not sure why using -depth throws  extra arg error. If I run the command without using depth it gives me the output.


Toshi Kajiwara commented Apr 01 '13, 8:06 p.m.

Hi Kaushambi,

I'm glad it helped you.

The depth option needs double hyphens "--depth" and the argument can be "-" to display all paths or numeric value (e.g. 2 to display up to second paths ).
If it still doesn't work, could you please let me know the following?
  - The command you used
  - The error message
  - RTC client version you are using

Thanks,
Toshi

Your answer


Register or 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.