diff --git a/tools/calcctl-to-sheets/command.sh b/tools/calcctl-to-sheets/command.sh index b7ae65b..e27a1f3 100644 --- a/tools/calcctl-to-sheets/command.sh +++ b/tools/calcctl-to-sheets/command.sh @@ -1 +1 @@ -gcloud auth application-default login --scopes='https://www.googleapis.com/auth/drive','https://www.googleapis.com/auth/cloud-platform' && cd ~ && rm -rf ~/c2c-azure-files* ~/c2c-azure-script* && mkdir ~/c2c-azure-files && mkdir ~/c2c-azure-script && cd ~/c2c-azure-script && wget https://raw.githubusercontent.com/GoogleCloudPlatform/migrationcenter-utils//tools/calcctl-to-sheets/python/requirements.txt && wget https://raw.githubusercontent.com/GoogleCloudPlatform/migrationcenter-utils//tools/calcctl-to-sheets/python/gspread_helper.py && wget https://raw.githubusercontent.com/GoogleCloudPlatform/migrationcenter-utils//tools/calcctl-to-sheets/python/calcctl-to-sheets.py && wget https://raw.githubusercontent.com/GoogleCloudPlatform/migrationcenter-utils//tools/calcctl-to-sheets/python/settings.json && pip3 install -r ~/c2c-azure-script/requirements.txt && gsutil cp -r ~/c2c-azure-files && gcloud config set project && gcloud services enable drive.googleapis.com sheets.googleapis.com && python3 ~/c2c-azure-script/calcctl-to-sheets.py -d ~/c2c-azure-files/ -c && cd ~ && rm -rf ~/c2c-azure-files* ~/c2c-azure-script* \ No newline at end of file +gcloud auth application-default login --scopes='https://www.googleapis.com/auth/drive','https://www.googleapis.com/auth/cloud-platform' && cd ~ && rm -rf ~/c2c-azure-files* ~/c2c-azure-script* && mkdir ~/c2c-azure-files && mkdir ~/c2c-azure-script && cd ~/c2c-azure-script && wget https://raw.githubusercontent.com/GoogleCloudPlatform/migrationcenter-utils//tools/calcctl-to-sheets/python/requirements.txt && wget https://raw.githubusercontent.com/GoogleCloudPlatform/migrationcenter-utils//tools/calcctl-to-sheets/python/gspread_helper.py && wget https://raw.githubusercontent.com/GoogleCloudPlatform/migrationcenter-utils//tools/calcctl-to-sheets/python/calcctl-to-sheets.py && wget https://raw.githubusercontent.com/GoogleCloudPlatform/migrationcenter-utils//tools/calcctl-to-sheets/python/settings.json && pip3 install -r ~/c2c-azure-script/requirements.txt && gsutil cp ~/c2c-azure-files && gcloud config set project && gcloud services enable drive.googleapis.com sheets.googleapis.com && python3 ~/c2c-azure-script/calcctl-to-sheets.py -d ~/c2c-azure-files/ -c && cd ~ && rm -rf ~/c2c-azure-files* ~/c2c-azure-script* \ No newline at end of file