It looks like S3 supports rename now -- well via no bandwith charge copy.
http://developer.amazonwebservices.com/connect/ann.jspa?annID=360 http://docs.amazonwebservices.com/AmazonS3/2006-03-01/index.html?UsingCopyingObjects.htmlI want s3sync to keep old copies of files -- if my local copy gets corrupted I don't want to replace my backup with the corrupted file.
So I'm thinking maybe two options might be cool:
--keep-old-revisions 3
Maintain old revisions, but keep at most 3 copies. On upload, copy the existing S3 one to file.revision1, 2 or 3, then upload the new file into existing name.
--keep-original
Never overwrite the original that was first put into S3. On upload, check if file.original exists, if not, copy existing S3 to file.original. Then upload new one to existing name.