Skip to content

Instantly share code, notes, and snippets.

@non-static
Created April 16, 2020 04:16
Show Gist options
  • Save non-static/baedbdefdd553309bc96520671220812 to your computer and use it in GitHub Desktop.
Save non-static/baedbdefdd553309bc96520671220812 to your computer and use it in GitHub Desktop.
Upload a file to Azure Blob Storage by curl
#!/bin/bash
curl -X PUT -T ./gpu_tests.tgz -H "x-ms-date: $(date -u)" -H "x-ms-blob-type: BlockBlob" "https://bohudata.blob.core.windows.net/temp/gpu_tests.tgz?<sas_token_to_folder>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment