Skip to content

Commit

Permalink
escape the "
Browse files Browse the repository at this point in the history
  • Loading branch information
bartash committed Oct 28, 2020
1 parent c629631 commit ebc208b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion download_azure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ TMP1=/tmp/azure1$$
TMP2=/tmp/azure2$$
az storage fs file list -f $CONTAINER --path $DOWNLOAD_PATH > $TMP1
# FIXME check for continuation markers and deal
grep name $TMP1 | awk '{print $2}' | sed 's/",//' | sed 's/"//' | sed 's?.*/??' > $TMP2
grep name $TMP1 | awk '{print $2}' | sed 's/\",//' | sed 's/\"//' | sed 's?.*/??' > $TMP2
for name in $(cat $TMP2)
do
az storage fs file download -f logs --path "$DOWNLOAD_PATH/$name"
Expand Down

0 comments on commit ebc208b

Please sign in to comment.