Skip to content

Commit

Permalink
prevent batch script exit after az storage blob download-batch (#433)
Browse files Browse the repository at this point in the history
close #431
  • Loading branch information
ygrik committed Jan 21, 2020
1 parent 3b5211f commit 5fdfc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/migrate.bat
Expand Up @@ -25,7 +25,7 @@ node ./generate %target_management_endpoint% %target_access_token% %data_file%

@REM Download the media files from the source portal
md %media_folder%
az storage blob download-batch --source %media_container% --destination %media_folder% --connection-string %source_storage_connection_string%
call az storage blob download-batch --source %media_container% --destination %media_folder% --connection-string %source_storage_connection_string%

@REM Upload the media files to the target portal
az storage blob upload-batch --source %media_folder% --destination %media_container% --connection-string %target_storage_connection_string%
Expand Down

0 comments on commit 5fdfc75

Please sign in to comment.