Skip to content

复制对象

示例

复制远端桶20010-test中的1.txt到桶20010-test2.txt

  • 隐性指定参数
shell
jcli cp s3://20010-test/1.txt s3://20010-test/2.txt
  • 显性指定参数
shell
jcli cp -src s3://20010-test/1.txt -dest s3://20010-test/2.txt

使用方法

shell
  -dest 参数值类型:string
        远端目标文件,例s3://{bucket}/{object}

  -src 参数值类型:string
        远端源文件,例s3://{bucket}/{object}