Table of Contents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eE | |
mkdir -p .log | |
rm -rf .log/* | |
aws s3 --profile PROFILE --region REGION sync s3://my-log-bucket/exportedlogs .log/ | |
cd .log |