Share via


az storage azcopy

Note

This reference is part of the storage-preview extension for the Azure CLI (version 2.61.0 or higher). The extension will automatically install the first time you run an az storage azcopy command. Learn more about extensions.

[EXPERIMENTAL] Manage storage operations utilizing AzCopy.

Open issues here: https://github.com/Azure/azure-storage-azcopy.

Commands

Name Description Type Status
az storage azcopy blob

Manage object storage for unstructured data (blobs) using AzCopy.

Extension GA
az storage azcopy blob delete

Delete blobs from a storage blob container using AzCopy.

Extension GA
az storage azcopy blob download

Download blobs from a storage blob container using AzCopy.

Extension GA
az storage azcopy blob sync

Sync blobs recursively to a storage blob container using AzCopy.

Extension GA
az storage azcopy blob upload

Upload blobs to a storage blob container using AzCopy.

Extension GA
az storage azcopy run-command

Run a command directly using the AzCopy CLI. Please use SAS tokens for authentication.

Extension GA

az storage azcopy run-command

Run a command directly using the AzCopy CLI. Please use SAS tokens for authentication.

az storage azcopy run-command [<COMMAND_ARGS>]

Optional Parameters

<COMMAND_ARGS>

Command to run using azcopy. Please start commands with "azcopy ".

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.