Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
wiki:scripts:bash:reference_a_scene_by_name_instead_of_uid [2017/09/18 06:12]
benp
wiki:scripts:bash:reference_a_scene_by_name_instead_of_uid [2017/09/18 06:13] (current)
benp
Line 7: Line 7:
  
 <​code>​ <​code>​
 +
 +sceneName="​Welcome"​
 +sceneOwner="​integrate"​
  
 if [ "​$(uname)"​ = "​Linux"​ ]; then if [ "​$(uname)"​ = "​Linux"​ ]; then
Line 13: Line 16:
  pathToSCLI="​${HOME}/​Applications/​RacePointMedia/​sclibridge"​  pathToSCLI="​${HOME}/​Applications/​RacePointMedia/​sclibridge"​
 fi fi
- 
-sceneName="​Welcome"​ 
-sceneOwner="​integrate"​ 
  
 sceneUID=$(${pathToSCLI} getSceneNames | grep -i "​$sceneName"​ | grep -i "​$sceneOwner"​ | cut -d','​ -f2) sceneUID=$(${pathToSCLI} getSceneNames | grep -i "​$sceneName"​ | grep -i "​$sceneOwner"​ | cut -d','​ -f2)

Log In