aliyun-cli icon indicating copy to clipboard operation
aliyun-cli copied to clipboard

aliyun oss cp 如何禁止日志输出

Open jianwang-beijing opened this issue 3 years ago • 0 comments

  • 命令格式:
aliyun oss cp big-file oss://target-bucket/app.AppImage
  • 执行命令:
aliyun oss cp ngiq-app-desktop-20210629201918.2faba9e9.AppImage oss://globefish-test/app.AppImage
  • 输出:
Succeed: Total num: 1, size: 159,927,022. OK num: 1(upload 1 files).

average speed 12221000(byte/s)

4.910544(s) elapsed

其他: aws 的 cli 有一些可以借鉴的设置, 例如: --only-show-errors , 完成命令例如:

aws s3 cp --only-show-errors "${2}/linux/latest-linux.yml" "./linux/"

这样出错误才输出日志

jianwang-beijing avatar Jul 01 '21 10:07 jianwang-beijing