Last active
August 6, 2017 07:36
-
-
Save sachinsmc/f2a240a6ed9ea6b620a2e5c3612852c7 to your computer and use it in GitHub Desktop.
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 | |
#script for creating zip file | |
echo "create a zip and cp to s3 " | |
DATE="`date '+%Y%m%d%H%M%S'`.zip" | |
zip -e $DATE ../logs | |
aws s3 cp ../logs https://s3-external-1.amazonaws.com/cf-templates-............w.templatek..... | |
echo "Zip files created and copied to s3 bucket." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment