Rsync not updating timestamp
If you use this parameter you must have the "s3: Put Object Acl" permission included in the list of actions for your IAM policy.Only accepts values of (boolean) Symbolic links are followed only when uploading to S3 from the local filesystem.Both options seem, at least verbally to result in the same thing: comparing by size only. There are several ways rsync compares files -- the authoritative source is the rsync algorithm description: https:// For local files, rsync compares metadata and if it looks like it doesn't need to copy the file because size and timestamp match between source and destination it doesn't look further. However, what if the metadata do match but files aren't actually the same? Files that are the same size may still have changed.One simple example is a text file where you correct a typo -- like changing "teh" to "the".Consider the typo example above, but then not only did you correct the typo but you used "touch" to make the corrected file have the same modify time as the original file -- let's just say you're sneaky that way.Well --ignore-times will do a diff of the files means that rsync will skip files that match in size, even if the timestamps differ.This means it will synchronise more files than the default behaviour.It will include changes to files even where the file size is the same and the modification date/time has been reset to the original value.
They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Checksumming every file means it has to be entirely read from disk, which may be slow.
Some build pipelines will reset timestamps to a specific date (like 1970-01-01) to ensure that the final build file is reproducible bit for bit, e.g.
Note that S3 does not support symbolic links, so the contents of the link target are uploaded under the name of the link.
When neither (string) This parameter should only be specified when copying an S3 object that was encrypted server-side with a customer-provided key.