Created
January 8, 2019 18:04
-
-
Save jvitorsf/603016d58f663b9e5a85b39ad44f6b33 to your computer and use it in GitHub Desktop.
AWS Script to Upload File
This file contains hidden or 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 | |
| aws s3 cp /home/source/file.ext s3://s3bucketname/folder/$(date '+%Y%m%d%H%M%S')file.dat --acl private |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment