将本程序解压到任意目录, 并进入该目录,运行:
sudo python setup.py
配置文件:
HOST = "oss-internal.aliyuncs.com" ACCESS_ID = "2222" SECRET_ACCESS_KEY = "222222" oss_mappers = [{'bucket': tocoolaj', 'local_folders': ['/data/coolaj']}]
即为同步coolaj文件夹到tocoolaj的bucket
将本程序解压到任意目录, 并进入该目录,运行:
sudo python setup.py
配置文件:
HOST = "oss-internal.aliyuncs.com" ACCESS_ID = "2222" SECRET_ACCESS_KEY = "222222" oss_mappers = [{'bucket': tocoolaj', 'local_folders': ['/data/coolaj']}]
即为同步coolaj文件夹到tocoolaj的bucket