CmdID

CmdID / az / az storage

az storage copy

Copy files or directories to or from Azure storage. Azure CLI reference

26 options Its page in the Azure CLI reference

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

Options

26 in the Azure CLI reference
Show its 26 options
--account-nameStorage account name of copy destination
--blob-typeThe type of blob at the destination.
--cap-mbpsCaps the transfer rate, in megabits per second.
--content-typeSpecify content type of the file.
--destination, -dThe path/url of copy destination.
--destination-blobBlob name in blob container of copy destination storage account
--destination-containerContainer name of copy destination storage account
--destination-file-pathFile path in file share of copy destination storage account
--destination-shareFile share name of copy destination storage account
--exclude-pathExclude these paths.
--exclude-patternExclude these files where the name matches the pattern list.
--follow-symlinksFollow symbolic links when uploading from local file system.
--include-pathInclude only these paths.
--include-patternInclude only these files where the name matches the pattern list.
--preserve-s2s-access-tierPreserve access tier during service to service copy.
--put-md5Create an MD5 hash of each file, and save the hash as the Content-MD5 property of the destination blob/file.Only available when uploading.
--recursive, -rLook into sub-directories recursively.
--source, -sThe path/url of copy source.
--source-account-keyAccount key of copy source storage account.
--source-account-nameAccount name of copy source storage account.
--source-blobBlob name in blob container of copy source storage account
--source-connection-string, --src-connConnection string of source storage account.
--source-containerContainer name of copy source storage account
--source-file-pathFile path in file share of copy source storage account
--source-sasShared Access Signature (SAS) token of copy source.
--source-shareFile share name of copy source storage account