`aws s3 sync` lessons learned


As mentioned in my earlier posts, we use aws s3 sync to migrate a large number of files from on-premise to AWS. Here are a few things that I learned:

An error occurred (ExpiredToken) when calling the PutObject operation: The provided token has expired.
  • --exact-timestamps option only works when syncing from S3 to local, same-sized items will be ignored only when the timestamps match exactly. The default behavior is to ignore same-sized items unless the local version is newer than the S3 version. (Source code)

One thought on “`aws s3 sync` lessons learned

Leave a comment