How to copy the files which are newly updated in S3 bucket using AWS CLI to local machine?
Can we compare the logs and do the copy?
You can use either the aws s3 cp
command, or if you want to only synchronise new files you can use the aws s3 sync
command.
The syntax is below
aws s3 cp s3://mybucket . --recursive
The documentations are available below:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.