Skip to content

Instantly share code, notes, and snippets.

@garystafford
Created August 26, 2018 02:58
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 garystafford/3e22f847ff14a237234f6e49abb0bf2d to your computer and use it in GitHub Desktop.
Save garystafford/3e22f847ff14a237234f6e49abb0bf2d to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
# author: Gary A. Stafford
# site: https://programmaticponderings.com
# license: MIT License
set -ex
## CONSTANTS ##
ACCOUNT_NAME="<value_goes_here>"
STORAGE_ACCOUNT="<value_goes_here>"
STORAGE_CONTAINER="<value_goes_here>"
az storage blob upload-batch \
--account-name ${STORAGE_ACCOUNT} \
--account-key ${ACCOUNT_KEY} \
--destination ${STORAGE_CONTAINER} \
--source ../azure-tech-facts-google/pics/ \
--pattern image-*.png
# --dryrun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment