0

我的目标是从文件系统复制到 blob 存储,跳过 blob 存储上任何更新或相同的文件。从文档中,这似乎可以通过使用/XO参数来实现。

/XO

排除较旧的源资源。如果源的最后修改时间与目标相同或早于目标,则不会复制资源。

但是,这似乎对我不起作用。是因为源是本地文件系统而不是另一个存储帐户吗?

我已经运行以下命令进行测试。

AzCopy /Source:"D:\files" /Dest:https://myaccount.blob.core.windows.net/files /destkey:** /L /S /XO /V:files.txt
4

1 回答 1

1

The command above works. I had moved the source files via FTP, thus rewriting the last modified date, making the filesystem files appear newer.

于 2017-01-31T14:14:03.140 回答