Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oss cp 使用-r的异常现象 #330

Open
sundxing opened this issue Feb 23, 2021 · 7 comments
Open

oss cp 使用-r的异常现象 #330

sundxing opened this issue Feb 23, 2021 · 7 comments

Comments

@sundxing
Copy link

sundxing commented Feb 23, 2021

基本信息

目标:使用cp命令将OSS文件下载到本地
版本:CLI 3.0.72
设备版本:MacBook Pro Version-10.15.7

错误尝试1 :

  • Command Format:

aliyun oss cp -r oss-url local-path

  • Execution Command:
  • Output:

Succeed: Total num: 0, size: 0. OK num: 0.

期望:下载oss-url文件夹中的两个文件
结果:没有下载

错误尝试2 :

  • Command Format:

aliyun oss cp -r local-path oss-url

  • Execution Command:
  • Output:

Succeed: Total num: 15, size: 11,544,381. OK num: 15(download 15 objects)
期望:上传本地文件夹中的多个文件
结果:下载远端文件

正常尝试 :

aliyun oss cp local-path oss-url -r

aliyun oss cp oss-url local-path -r

@co-kevin
Copy link

今天下载的时候也发现,参数好像反了

@weaponready
Copy link

+1...

@zhangzhenhuajack
Copy link

+1

1 similar comment
@chenmi319
Copy link

+1

@shiny
Copy link

shiny commented Jan 13, 2022

同样的问题,就知道 issue 区会有解决方案。代码质量一言难尽。

@hxgdzyuyi
Copy link

一言难尽。。。。

@JacksonTian
Copy link
Contributor

直接用 ossutil 吧。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants