Live data from Hacker News

Uploading to S3 in 18 lines of Shell

gist.github.com

21–23 of 23 posts

Re: Uploading to S3 in 18 lines of Shell

#21
post #4

aws s3 cp src dest... OK curl is installed by default but if you have to install this script anyway, it's only a `pip install` away...

I found this script a couple weeks ago and was very useful for the minimal docker image I was creating. In some cases you have certain constraints when accessing s3 and this script is helpful in those cases.

Re: Uploading to S3 in 18 lines of Shell

#23

There's a 2007 bash implementation of s3 commands here too: https://code.google.com/p/s3-bash/

Yeah, thanks for linking to this: the reason I didn't use it was mostly because it was longer than 18 lines :) Nice not to have to track and maintain a version of other people's code when you don't have to.
Post reply on HN