Overwrite files with s3cmd

Viewed 4663

I try to upload files to my S3 Bucket using the s3cmd. Works fine as it should, but files which already exist will not be overwritten but saved as a new file like "filename-1.ext".

I have found the

-f, --force (Force overwrite and other dangerous operations.)

command at http://s3tools.org/usage and tried

s3cmd put ~/Desktop/filename.ext  s3://mybucket -f

but files are still saved as new and not overwritten. Does anyone have any idea? Thanks for your help!

3 Answers
Related