How to see component folder structure using RTC SCM command ?
Accepted answer
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.
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.
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