I am running the latest version of s3cmd (s3cmd version 1.5.0-alpha1). I uploaded a directory with 20 files using:
s3cmd -v sync —delete-removed backups/ s3://my-bucket-backups/mongodb/
Then I went and deleted some files in local backups, and ran the above command again. The files I deleted locally, however stay in the s3 bucket, i.e. they are not deleted on Amazon. Any idea why?