-
Notifications
You must be signed in to change notification settings - Fork 4.5k
S3 sync should use --exact-timestamps by default #3415
Copy link
Copy link
Open
Labels
documentationThis is a problem with documentation.This is a problem with documentation.feature-requestA feature should be added or improved.A feature should be added or improved.p3This is a minor priority issueThis is a minor priority issues3s3sync
Description
It's very easy for people to miss that --exact-timestamps is necessary for aws s3 sync to produce correct results, especially since the default settings are the opposite of what common tools like rsync use. --exact-timestamps should be enabled by default so sync matches common English usage and the description in the man page which is currently incorrect:
Recursively copies new and updated files from the source directory to the destination.
If someone has an odd case where this is an optimization the current behaviour could be offered as a --no-exact-timestamps or, better, following rsync's lead with --size-only to make the implications more obvious.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationThis is a problem with documentation.This is a problem with documentation.feature-requestA feature should be added or improved.A feature should be added or improved.p3This is a minor priority issueThis is a minor priority issues3s3sync