gpt4 book ai didi

azure - 如何使用 az storage fs 目录下载 Azure 存储中目录的内容?

转载 作者:行者123 更新时间:2023-12-03 01:16:00 25 4
gpt4 key购买 nike

目前,我正在使用 az storage blob directory download,但每次运行它时,我都会得到:此命令已隐式弃用,因为命令组“storage blob directory”已弃用,并且将在未来版本中删除。请改用“az storage fs 目录”。

我检查了docs我似乎找不到 --file-system 的值应该是什么。有人可以分享一个将 Blob 内的容器内的目录(文件夹)内容从 Azure 存储下载到 Windows 计算机的示例吗?

最佳答案

--file-system是你的容器名称

az storage fs directory download -f myfilesystem --account-name mystorageaccount -s SourceDirectoryPath -d "<local-path>" --recursive

上面将下载整个目录

关于azure - 如何使用 az storage fs 目录下载 Azure 存储中目录的内容?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74851874/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com