skip to Main Content

AZure azcopy Linux – how to pass variable to azcopy

Good day I want to pass the value of $mm to this azcopy. However, since azcopy parameters are in double quotes, it does not want to process correctly. $mm=04 ; start=`echo "START DATE: $(date)"` ; azcopy cp "https://reco.blob.core.windows.net/raw-voi-2022/2022-$mm/*?sv=2020-0RgUNH8A%3D" "https://storage.blob.core.windows.net/bin-voi-2022/2022-$mm?sv=2021-0HGICxvaLULI%3D" Results:…

VIEW QUESTION
Back To Top
Search