Amazon S3 Upload with Ruby

Published: 25 Nov 2009

Need a quick and dirty way to upload some photos or other files via command prompt? Have Ruby?

First, install the Amazon S3 gem:

sudo gem i aws-s3

Then, edit the following to suit your needs: