Skip to content

Instantly share code, notes, and snippets.

@jvitorsf
Created January 8, 2019 18:04
Show Gist options
  • Select an option

  • Save jvitorsf/603016d58f663b9e5a85b39ad44f6b33 to your computer and use it in GitHub Desktop.

Select an option

Save jvitorsf/603016d58f663b9e5a85b39ad44f6b33 to your computer and use it in GitHub Desktop.
AWS Script to Upload File
#!/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