mehwww / oss-sync

阿里云OSS同步工具
52 stars 16 forks source link

When "incrementalMode":false, Deleted File not Deleted in OSS #11

Open jonahfang opened 8 years ago

jonahfang commented 8 years ago

My .oss-sync.json is as follows:

{
    "source":"/home/fzx/work/dbbackup",
    "dest":"mysql",
    "accessKeyId":"",
    "secretAccessKey":"",
    "endpoint":"http://oss-cn-hangzhou.aliyuncs.com",
    "bucket":"ahxtest",
    "incrementalMode":false
}

New files are uploaded ok, but when i remove some files, and run osync, the file not deleted in OSS.

I use node.js v5.6.x.

是否没有删除功能?

mehwww commented 8 years ago

It may be because your process exit after uploaded cause #12 ?

jonahfang commented 8 years ago

@mehwww, 我手工在命令行中执行时,就没有自动删除,这个和#12无关。