我怎样才能使gsutil cp跳过错误的符号链接?

时间:2016-12-28 11:11:25

标签: google-cloud-storage gsutil

我正在使用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跳过这个文件或安全地失败而不停止上传?

1 个答案:

答案 0 :(得分:1)

这是gsutil中的一个错误(看起来你报告了here),它将在gsutil 4.23中修复。

相关问题