From b009ebfcfed65e54fcfae2101dedd0edd6c91f2a Mon Sep 17 00:00:00 2001 From: Tyler Burton <104455281+btylerburton@users.noreply.github.com> Date: Mon, 20 May 2024 15:48:38 -0500 Subject: [PATCH] Update s3creds.sh update with example cli prompt --- s3creds.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/s3creds.sh b/s3creds.sh index d8547e1..1ffd0c8 100755 --- a/s3creds.sh +++ b/s3creds.sh @@ -20,4 +20,6 @@ echo 'Run the following lines at your shell prompt to put the S3 bucket credenti echo export AWS_ACCESS_KEY_ID=`echo "${S3_CREDENTIALS}" | jq -r .credentials.access_key_id` echo export AWS_SECRET_ACCESS_KEY=`echo "${S3_CREDENTIALS}" | jq -r .credentials.secret_access_key` echo export BUCKET_NAME=`echo "${S3_CREDENTIALS}" | jq -r .credentials.bucket` -echo export AWS_DEFAULT_REGION=`echo "${S3_CREDENTIALS}" | jq -r '.credentials.region'` \ No newline at end of file +echo export AWS_DEFAULT_REGION=`echo "${S3_CREDENTIALS}" | jq -r '.credentials.region'` + +# for i in `ls ~/Desktop/s3-uploads`: do aws s3 cp $i s3://${BUCKET_NAME}; done;