【问题标题】:How Can I make gsutil cp skip false symlinks?如何让 gsutil cp 跳过错误的符号链接?
【发布时间】:2017-05-12 15:58:17
【问题描述】:

我正在使用 gsutil 上传包含符号链接的文件夹,问题是其中一些文件是错误的符号链接(不幸的是,情况就是这样)

这是我正在使用的命令的示例:

gsutil -m cp -c -n -e -L output-upload.log -r output gs://my-storage

我得到以下信息:

[Errno 2] No such file or directory: 'output/1231/file.mp4'
CommandException: 1 file/object could not be transferred.

有没有办法让 gsutil 在不停止上传的情况下跳过此文件或安全失败?

【问题讨论】:

标签: google-cloud-storage gsutil


【解决方案1】:

这是 gsutil 中的一个错误(您似乎报告了 here),它将在 gsutil 4.23 中修复。

【讨论】:

    猜你喜欢
    • 2015-05-06
    • 1970-01-01
    • 2019-07-28
    • 1970-01-01
    • 2019-01-01
    • 2018-06-01
    • 1970-01-01
    • 2010-09-10
    • 1970-01-01
    相关资源
    最近更新 更多