修改配置文件 ~/.config/rclone/rclone.conf
注意,慎用sync,因为dst会完全变成src的内容。
配置华为
[xxx-huawei-obs]
type = s3
provider = HuaweiOBS
access_key_id = xxx
secret_access_key = xxx
region = cn-north-4
endpoint = obs.cn-north-4.myhuaweicloud.com
rclone lsd xxx-huawei-obs:
rclone copy xxx-huawei-obs: ./huawei --log-level DEBUG
配置阿里
[xxx]
type = s3
provider = Alibaba
env_auth = false
access_key_id = xxx
secret_access_key = xxx
endpoint = oss-cn-beijing.aliyuncs.com
acl = public-read
storage_class = STANDARD
bucket_acl = public-read
配置minio
[minio]
type = s3
provider = Minio
env_auth = false
access_key_id = minioadmin
secret_access_key = minioadmin
region = cn-east-1
endpoint = http://192.168.1.47:9000