s3s3mirror
s3s3mirror copied to clipboard
When Using Prefixes With Deletion Copies Objects are Deleted When They Shouldn't Be
As I have started to use additional features of the library I have noticed that if I include prefixes along with the --delete-removed
I noticed that the objects would be deleted before they were copied over again. This of course defeats much of the purpose of doing the sync as well as inflates the site of the bucket when versioning is enabled. Digging in it turned outto be small issues that are represented in this PR to fix the issue.