What is the option --exact-timestamp in s3 sync good for, if timestamps can't be set and are not preserved? #7071
-
When you are synchronizing files between two S3 buckets, it seems like the modified timestamp of files can't be set and will not be preserved when copying files. At least I didn't find any option that would allow me to do this. Now assuming the following scenario:
after running
if I copy files back with
In which scenario would it EVER be useful to specify the Bottom line: I would like to have an option to preserve timestamps - then it would make sense to have this parameter, otherwise it seems to be completely useless. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @apacha, thanks for reaching out. This topic has come up a few times before in other issues. I think this comment addresses your question:
Also this comment from a related issue provides more context as well. As mentioned there, you could pass the last modified time as metadata. Hopefully that helps, please let us know if you have any feedback on how the documentation for this could be improved. |
Beta Was this translation helpful? Give feedback.
Hi @apacha, thanks for reaching out. This topic has come up a few times before in other issues. I think this comment addresses your question:
Also this comment from a related issue provides more context as well. As mentioned there, you could pass the last modified time as metadata. Hopefully that helps, please let us know if you have any feedback on how the documentation for this could be improved.