Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucagervasi/31f1d3537ed0b0e71da0b41e26d42912 to your computer and use it in GitHub Desktop.
Save lucagervasi/31f1d3537ed0b0e71da0b41e26d42912 to your computer and use it in GitHub Desktop.
Push a file to a blob in an Azure storage account
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