Skip to main content

Sync file to qiniu kodo

Project description

QNSync

七牛云实时同步工具

特性

  • WatchDog实时更新
  • 支持自定义同步bucket_name与根目录
  • 更多特性有待开发...

使用

  • pip install qnsync or pip3 install qnsync
  • cd /work/dir
  • qnsync (or nohup 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


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)

Uploaded Source

Built Distribution

qnsync-0.5-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page