Forked from gregjhogan/curl-push-azure-storage-blob.sh
Created
December 6, 2023 22:43
-
-
Save juliusl/02849e1223e64935258ffd00eb1675ae 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