AzCopy&存档属性 [英] AzCopy & The Archive Attribute

查看:74
本文介绍了AzCopy&存档属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

AzCopy非常棒.但是..为什么没有办法删除或标记存档文件?它支持使用存档"文件复制文件.属性,但未设置该属性以表明可以安全删除.这就需要更复杂的罐头". 我现在要删除此文件吗?"脚本,如果指令AzCopy清除了存档属性(或标记了文件),该脚本将非常简单.多年来,这一直是工具功能集中的一个漏洞,如果来源是

AzCopy is great. But.. Why is there no way to remove or mark an archived file? It supports copying files with the "archive" attribute, but not setting that attribute to indicate it is safe to delete. This necessitates a far more complicated "can I delete this file now?" script where a terribly simple one would do if AzCopy cleared the archive attribute (or otherwise flagged a file) when instructed to do so. It has been a hole in the tools feature set for many, many years and if the source was open there would have been a solution long ago.

推荐答案

詹姆斯问候,

Greetings James,


感谢您与Microsoft论坛联系.我们很高兴为您解答.


Thank you for contacting Microsoft forums. We are pleased to answer your query.


AzCopy现在建立在我们的开源数据移动库中
https://github.com/Azure/azure-storage-net-data-movement


AzCopy is now built on our open source Data Movement Library 
https://github.com/Azure/azure-storage-net-data-movement. All of AzCopy’s transfer logic can be found there.

同时,您可以在此处请求任何特定功能 https://feedback.azure.com/forums/217298-storage .

Meanwhile, you can request for any specific feature here https://feedback.azure.com/forums/217298-storage.


希望答复能帮助您解决您的查询.如果您需要进一步的帮助,请随时回复该主题,因为我们始终可以为您提供查询.


I hope that the reply will assist you in getting your query addressed. In case you require further assistance, please do reply to the thread as we are always available to your queries.


问候.


Regards.

博士Shihab

Please remember to click "Mark as Answer" on the post that helps you as this can be beneficial to other community members reading the thread. And vote as helpful.


这篇关于AzCopy&存档属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆