英文:
Output to local file using cloud shell in vscode on a MAC
问题
我是新手在Mac上使用VSCode,我正在使用连接到Azure的Cloud Shell,在那里我可以运行所有命令而不会出现问题。我的问题是,如果我想使用export-csv命令将信息导出到文件,我不知道如何将输出文件指向我的Mac桌面。
这是否可能,还是我走错了方向?
英文:
I am new to VSCode on a Mac and I am using the Cloud Shell connected to Azure where I can run all my commands without issue. The problem I have is that if I want to use the export-csv command to export the information to a file I don't know how to point the output file to the Desktop of my Mac.
Is this possible or am I barking up the wrong tree?
答案1
得分: 1
当您使用云 shell 时,所有数据都在 Azure 终端上远程执行,因此云数据保存在 Blob 存储中,您可以运行 export-csv 命令,然后从 Blob 存储中下载数据。
有关更多详细信息:
https://learn.microsoft.com/en-us/azure/cloud-shell/persisting-shell-storage
英文:
When you are using cloud shell all data is executed remotely on azure terminal so the cloud is saved to a blob storage, you can run export-csv command then download the data from the blob storage.
for more details :
https://learn.microsoft.com/en-us/azure/cloud-shell/persisting-shell-storage
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论