Skip to content

beyondskyway/QiniuSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QiniuSync

七牛同步工具(windows):多文件夹实时同步到七牛

Dependencies

Configuration

  • 七牛信息
QINIU_ACCESS_KEY = ''
QINIU_SECRET_KEY = ''
QINIU_BUCKET = ''
QINIU_DOMIAN = '' # why need this?
  • 监视路径(同步目录)
WATCH_PATH = ('E:/SkyDrive', 'E:/SkyWatcher', 'E:/Diagram')
  • 过滤触发同步
FILE_FILTER = [r'(.*)/\.(.*)']

避免不需要上传的文件改动触发同步

  • 过滤上传文件
    可据需通过gitignore.io生成.qrsignore.txt,过滤不需要上传的文件。

Run

python run.py

Why need this?

如果想用七牛做图床,往blog文章贴图的话,把图片拖到文件夹,Ctrl+V就可以得到可访问的链接

About

七牛同步工具

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages