Skip to content

Instantly share code, notes, and snippets.

View mosic's full-sized avatar

Miloš Mošić mosic

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mosic on github.
  • I am mosic (https://keybase.io/mosic) on keybase.
  • I have a public key whose fingerprint is B77A 4787 BBA3 5D35 D37F 9999 9965 0EC5 7565 F888

To claim this, I am signing this object:

@mosic
mosic / s3_put.sh
Created June 30, 2015 00:36
Uploading to S3 using a shell script
#!/usr/bin/env bash
s3_key=$1
s3_secret=$2
bucket=$3
path=$4
aws_path=$5
date=$(date +"%a, %d %b %Y %T %z")
acl="x-amz-acl:private"