简体   繁体   English

将 Azure 存储帐户中的文件夹复制到同一存储帐户中的另一个文件夹

[英]Copy folder in Azure Storage Account to another folder in the same storage account

I have a Github Worfklow in which I am trying to copy all blobs in a folder to another folder in the same Azure storage account using the "az storage" command.我有一个 Github Worfklow,我正在尝试使用“az storage”命令将文件夹中的所有 blob 复制到同一 Azure 存储帐户中的另一个文件夹。 Ideally it should be synchronous so that Github Action must be able to track the progress.理想情况下,它应该是同步的,以便 Github Action 必须能够跟踪进度。

I am not sure if "az storage" is even the correct command to use, perhaps AZCopy will be better?我不确定“az storage”是否是正确使用的命令,也许 AZCopy 会更好? But I am not sure how to use AZCopy within Github actions (what should the value for "uses" be?)但我不确定如何在 Github 操作中使用 AZCopy(“使用”的值应该是什么?)

弄清楚了

az storage copy --source-account-name name_here --source-container 'mycontainer' --source-blob 'test/*' --account-name name_here --destination-container 'mycontainer' --destination-blob test2 --recursive

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure Powershell将Azure存储帐户复制到另一个Azure存储帐户 - Azure Powershell to copy azure storage account to another azure storage account 将 Azure 队列消息复制到另一个存储帐户 - Copy Azure Queue messages to another storage account 如何在azure存储帐户中创建子文件夹并使用azure功能App复制文件 - how to create a sub folder in azure storage account and copy the files by using azure function App 如何使用函数应用程序将文件从源文件夹复制到目标文件夹并删除 azure 存储帐户中的源文件夹文件 - how to copy files from source folder to destination folder and delete source folder files in azure storage account by using function app 使用 Azure CLI 将文件夹从 PC 上传到存储帐户容器 - Upload folder from PC to a storage account container using Azure CLI 如何在Python中使文件夹与Azure存储帐户保持同步? - How to keep a folder synchronised with an Azure storage account in Python? 使用 sas 列出 Azure Gen2 存储帐户中的文件夹 - List folder in Azure Gen2 storage account with sas 如何将文件从一个文件夹复制到python中同一容器中azure存储中的另一个文件夹? - How to copy files from one folder to another folder in azure storage in the same container in python? 在Blob中将Blob从一个存储帐户复制到另一个存储帐户 - Copy Blob from one storage account to another in Azure in c# 将文件从一个Azure存储帐户复制到另一个 - Copy file from one Azure storage account to another
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM