oss-sync
oss-sync copied to clipboard
When "incrementalMode":false, Deleted File not Deleted in OSS
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.
是否没有删除功能?
It may be because your process exit after uploaded cause #12 ?
@mehwww, 我手工在命令行中执行时,就没有自动删除,这个和#12无关。