Forked from gregjhogan/curl-push-azure-storage-blob.sh
Created
December 14, 2018 09:49
-
-
Save lucagervasi/31f1d3537ed0b0e71da0b41e26d42912 to your computer and use it in GitHub Desktop.
Push a file to a blob in an Azure storage account
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X PUT -T ./{file.dat} -H "x-ms-date: $(date -u)" -H "x-ms-blob-type: BlockBlob" "https://{storageaccount}.blob.core.windows.net/backups/{file.dat}?{sas-token}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment