CmdID

CmdID / az / az storage / az storage azcopy / az storage azcopy blob

az storage azcopy blob download

Download blobs from a storage blob container using AzCopy. Azure CLI extensions reference

3 examples 4 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Download a single blob from a container.

az storage azcopy blob download -c MyContainer --account-name MyStorageAccount -s "path/to/blob" -d "path/to/file"Identify
-cThe download source container.
-sThe download source path.
-dThe destination file path to download to.

Download a virtual directory from a container.

az storage azcopy blob download -c MyContainer --account-name MyStorageAccount -s "path/to/virtual_directory" -d "download/path" --recursiveIdentify
-cThe download source container.
-sThe download source path.
-dThe destination file path to download to.
--recursiveRecursively download blobs.

Download the contents of a container onto a local file system.

az storage azcopy blob download -c MyContainer --account-name MyStorageAccount -s * -d "download/path" --recursiveIdentify
-cThe download source container.
-sThe download source path.
-dThe destination file path to download to.
--recursiveRecursively download blobs.

Options

4 in the Azure CLI extensions reference
--container, -cThe download source container.
--destination, -dThe destination file path to download to.
--recursive, -rRecursively download blobs.
--source, -sThe download source path.