It's all about the answers!

Ask a question

How to get stream UUID from name

Tomas Kramaric (2115) | asked Nov 21 '16, 6:38 a.m.
Is there any way how can i get stream UUID ?
thank you

Accepted answer

permanent link
Tomas Kramaric (2115) | answered Nov 21 '16, 6:45 a.m.
List streams which also contains UUIDs:
scm list streams -r "$REPO" --projectarea "$PROJECT" -u "$USER" -P "$PASS"
Ralph Schoon selected this answer as the correct answer

One other answer

permanent link
Donald Nong (14.4k314) | answered Nov 21 '16, 6:57 p.m.
edited Nov 21 '16, 6:59 p.m.
I think Tomas meant to say using the -u/--show-uuid option for this purpose, but forgot to put it in the sample command. He knows how to use it apparently according to this post.

So the correct command should be
scm -u y list streams -r "$REPO" --projectarea "$PROJECT" -u "$USER" -P "$PASS"
scm --show-uuid y list streams -r "$REPO" --projectarea "$PROJECT" -u "$USER" -P "$PASS"
Reference can be found here in the "UUIDs and aliases" section.

Tomas Kramaric commented Nov 22 '16, 3:05 a.m.

  I did not know, but i hardly found it somewhere else. thx

Your answer

Register or to post your answer.