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.

Revisions

  1. jvitorsf created this gist Jan 8, 2019.
    3 changes: 3 additions & 0 deletions AWS S3 Transfer Script
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    #!/bin/bash

    aws s3 cp /home/source/file.ext s3://s3bucketname/folder/$(date '+%Y%m%d%H%M%S')file.dat --acl private