Skip to content

Retain original modified date time #6601

@bmacbmac2

Description

@bmacbmac2

Confirm by changing [ ] to [x] below:

Issue is about usage on:

  • Service API : I want to do X using Y service, what should I do?
  • [ x] CLI : passing arguments or cli configurations.
  • Other/Not sure.

Platform/OS/Hardware/Device
What are you running the cli on?
Windows 10

Describe the question
Retaining the original date/time on our files is very crucial to our operation. When uploading to S3 and then downloading back to our system the modified date/time is always today.

While searching github I have seen some information about --exact-timestamps but that hasn't solved the problem.

aws s3 sync --exact-timestamps c:\KTB\ s3://mybucket/KTB/

I just installed aws cli version2, but don't see any new documentation about this.

Thanks!

Logs/output
Get full traceback and error logs by adding --debug to the command.

Metadata

Metadata

Assignees

Labels

guidanceQuestion that needs advice or information.s3

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions