AzCopy:可以删除Blob内容吗?或将Blob内容移至另一内容(不可复制,移动) [英] AzCopy : delete of a blob content possible? Or moving a blob content into another (not copy, move)
问题描述
我正在创建一个批处理文件,以便在需要时从其他计算机上移动数据文件.
i'm creating a batchfile to move data files from different computers when needed.
在特定的时间,我希望能够使用AzCopy从容器中删除一些文件.
at a certain time, using AzCopy, i would like to be able to remove some files from a container.
删除"对我来说意味着删除或移至其他位置,位于垃圾桶中...
Remove means for me Delete or move elsewhere, in a trash blob...
批处理中的任何可能性?
Any possibility from a Batch ???
提前提示以获取任何提示
THanks in advance for any hint
Jacques
推荐答案
@ jacquesGander45,是的,可以删除文件和文件夹,但主要用于 Azcopy v10 您可以找到运行\ azcopy.exe -h所支持的命令 以下是受支持的命令:
可用命令:
复制 将源数据复制到目标位置
env 显示可以配置AzCopy行为的环境变量
帮助 有关任何命令的帮助
职位 与作业管理相关的子命令
列出 列出给定资源中的实体
登录 登录到Azure Active Directory以访问Azure存储资源.
注销 注销以删除对Azure存储资源的访问.
制造 创建一个容器/共享/文件系统
删除 删除Azure存储中的Blob或文件
同步 将源复制到目标位置
@jacquesGander45, Yes there is an option to remove files and folders but mainly in Azcopy v10 You can find the commands that are supported by running \azcopy.exe -h The below are the supported commands:
Available Commands:
copy Copies source data to a destination location
env Shows the environment variables that can configure AzCopy's behavior
help Help about any command
jobs Sub-commands related to managing jobs
list List the entities in a given resource
login Log in to Azure Active Directory to access Azure storage resources.
logout Log out to remove access to Azure storage resources.
make Create a container/share/filesystem
remove Deletes blobs or files in Azure Storage
sync Replicates source to the destination location
让我知道这是否有帮助.
Let me know if this helped.
这篇关于AzCopy:可以删除Blob内容吗?或将Blob内容移至另一内容(不可复制,移动)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!