2016-12-28 77 views
0

我使用gsutil上传包含符号链接的文件夹,问题是,一些这些文件都是假的符号链接(遗憾的是,这样的话)如何让gsutil cp跳过错误的符号链接?

这里是我使用的命令的例子:

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会跳过此文件或安全的故障而无需停止上传?

+0

我相信这是gsutil cp -e中的一个错误,因为该选项应该排除符号链接,所以让我们跟进https://github.com/GoogleCloudPlatform/gsutil/issues/403(感谢提交GitHub问题!) –

回答

1

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