I would like to update the S3 bucket with the new content(create a folder within a bucket). What is the --expires
date format. I didn't find any examples using AWS CLI
on google. Can someone please help me on this thing?
Something like this:
aws s3 sync $backup_home s3://backup/$app-backup/$app-$DATE --expires '$DATE'
aws s3 sync
expects a GMT ISO 8601 datetime string as the format for the -expires
option. Something like this:
aws s3 sync $backup_home s3://backup/$app-backup/$app-$DATE --expires '2016-06-14T00:00:00Z'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With