Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to see component folder structure using RTC SCM command ?

Is there a scm command on RTC CLI to to see the folder structure of a component on stream?

0 votes


Accepted answer

Permanent link
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

1 vote

Comments

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.

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 log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,025

Question asked: Mar 31 '13, 2:50 a.m.

Question was seen: 4,461 times

Last updated: Apr 01 '13, 8:06 p.m.

Confirmation Cancel Confirm