Pages

Monday, October 13, 2014

Install every (not already installed) component of the Google Cloud SDK

$ gcloud components list | grep "^| Not" | sed "s/|\(.*\)|\(.*\)|\(.*\)|/\2/" | xargs echo gcloud components update

Google Cloud SDK comes with a package manager `gcloud components` but it needs a bit of `sed` to work. Modify the "^| Not" bit to change the package selection.




commandlinefu.com


by David Winterbottom (codeinthehole.com)






from All commands http://ift.tt/1v4NlMp

No comments:

Post a Comment