Forrest logo
back to context overview

az-storage-blob

List of commands for az-storage-blob:

  • az-storage-blob:tldr:165a0 az-storage-blob: Delete a blob object.
    $ az storage blob delete --account-name ${storage_account_name} --account-key ${storage_account_key} -c ${container_name} -n ${path-to-blob}
    try on your machine
    explain this command
  • az-storage-blob:tldr:5a862 az-storage-blob: Download a blob to a file path.
    $ az storage blob download --account-name ${storage_account_name} --account-key ${storage_account_key} -c ${container_name} -n ${path-to-blob} -f ${path-to-local_file}
    try on your machine
    explain this command
  • az-storage-blob:tldr:60f77 az-storage-blob: Generate a shared access signature for a blob.
    $ az storage blob generate-sas --account-name ${storage_account_name} --account-key ${storage_account_key} -c ${container_name} -n ${path-to-blob} --permissions ${permission_set} --expiry ${Y-m-d'T'H:M'Z'} --https-only
    try on your machine
    explain this command
  • az-storage-blob:tldr:65613 az-storage-blob: Download blobs from a blob container recursively.
    $ az storage blob download-batch --account-name ${storage_account_name} --account-key ${storage_account_key} -s ${container_name} -d ${path-to-remote} --pattern ${filename_regex} --destination ${path-to-destination}
    try on your machine
    explain this command
  • az-storage-blob:tldr:e3fe9 az-storage-blob: Upload a local file to blob storage.
    $ az storage blob upload --account-name ${storage_account_name} --account-key ${storage_account_key} -c ${container_name} -n ${path-to-blob} -f ${path-to-local_file}
    try on your machine
    explain this command
back to context overview