-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added code to use the azcopy responsefile option to pass parameters #4704
Conversation
$azlog = ("{0}\..\azlog" -f $src) | ||
$args = ("/Source:`"{0}`" /Dest:{1} /DestSAS:{2} /S /Z:`"{3}`"" -f $src, $dest, $sas, $azlog) | ||
|
||
# Create a file with the arguments as the content |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create [](start = 6, length = 6)
task.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
|
||
$responseFileArgs = [String]::Format("/@:""{0}""", $responseFile) | ||
try { | ||
Write-Verbose "Calling AzCopy tool with file $responseFile" -Verbose |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to put the file name in verbose log.. People can easily look into the file and get the sas key..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to put the file name in verbose log..? People can easily look into the file and get the sas key
Added code to use the azcopy responsefile option to pass parameters