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 details)
Built Distribution
qnsync-0.5-py3-none-any.whl
(7.6 kB
view details)
File details
Details for the file qnsync-0.5.tar.gz
.
File metadata
- Download URL: qnsync-0.5.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ec3c26580762ac8d46232b9ed1dfc969dd48ab93830058330ba90a03637bf75 |
|
MD5 | eb4d6dd5c0e56664beab8d9eb740a5a8 |
|
BLAKE2b-256 | 406a345a4eebbb12ac93341d12acf4efc7f3ee6547d2672ef9096ec5648e2804 |
File details
Details for the file qnsync-0.5-py3-none-any.whl
.
File metadata
- Download URL: qnsync-0.5-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9324ce8f1f62502c6c435a2f5274d868c28e3af33f44f76e0b74560f77291d11 |
|
MD5 | 56815c2318967348b00256819416b656 |
|
BLAKE2b-256 | 93fce9c845065993067af6b37eb11635853e367b3867e223b2cd20a90ba3c15a |