does s3cmd put command overwrite files?

1

I am trying to write a script that will automatically backup a drive I have to amazon s3. I have downloaded s3cmd and I am wondering what the put command does...

It seems to me like it uploads the files every time, overwriting them. Is that what it does or not?

I am looking for something like rsync -av --delete so that it will only do something if there is a change...

What can I do?

deltaskelta

Posted 2016-03-06T14:11:15.813

Reputation: 217

Use sync for backup. See Data backup using AWS S3cmd: a simple and effective solution

– DavidPostill – 2016-03-06T14:14:40.947

Answers

0

The put operation will not overwrite. If you want to overwrite files at the destination, use sync

emmdee

Posted 2016-03-06T14:11:15.813

Reputation: 111