tencentyun / qcloud-documents

腾讯云官方文档
2.56k stars 3.57k forks source link

coscli "sync" confusion #15937

Open sun2ot opened 5 months ago

sun2ot commented 5 months ago

The sync name is ambiguous. For example:

coscli /path/to/localdir/ cos://mybucket/ -r

If there is an a.txt in the mybucket/ which is not in the localdir/, then a.txt shoule be deleted. But coscli sync will not do this.

Please add a note in the document that sync will not delete files in the target path that are inconsistent with the source path!