Sync file to qiniu kodo
Project description
QNSync
七牛云实时同步工具
特性
- WatchDog实时更新
- 支持自定义同步bucket_name与根目录
- 更多特性有待开发...
使用
pip install qnsync
orpip3 install qnsync
cd /work/dir
qnsync
(ornohup qnsync &
)
参数
--help
显示帮助并退出--path /path/to/the/config.json
指定config.json
(默认为当前目录下的config.json
)
config.json
{
"access_key": "access_key",
"secret_key": "secret_key",
"bucket_name": "bucket_name",
"monitor_path": "/work/dir/",
"base_dir": "/"
}
access_key
: 七牛云的AK
secret_key
: 七牛云的SK
bucket_name
: 七牛云的储存空间名monitor_path
: 监控的目录base_dir
: 七牛云储存的根目录
仓库
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qnsync-0.5.tar.gz
(3.2 kB
view hashes)
Built Distribution
qnsync-0.5-py3-none-any.whl
(7.6 kB
view hashes)