eval $(curl -s http://deploy.i.shaipower.com/httpproxy)
bash展开代码# Linux
curl -sSfL https://github.com/peak/s5cmd/releases/download/v2.2.2/s5cmd_2.2.2_Linux-64bit.tar.gz | tar -xz
mv s5cmd /usr/local/bin/
bash展开代码export AWS_ACCESS_KEY_ID="x"
export AWS_SECRET_ACCESS_KEY="x"
# 设置 S3 区域(根据实际情况修改,如 cn-beijing, us-east-1 等)
export AWS_DEFAULT_REGION="us-east-1"
# 设置自定义 S3 endpoint URL(用于兼容 OSS 等 S3 兼容服务)
export AWS_ENDPOINT_URL="http://oss.i.x.com"
bash展开代码s5cmd --numworkers 4000 cp --concurrency 4000 /mnt/jfs6/ s3://shai-aos-general/jfs6-new/


本文作者:Dong
本文链接:
版权声明:本博客所有文章除特别声明外,均采用 CC BY-NC。本作品采用《知识共享署名-非商业性使用 4.0 国际许可协议》进行许可。您可以在非商业用途下自由转载和修改,但必须注明出处并提供原作者链接。 许可协议。转载请注明出处!