gem install s3cmd
git clone https://github.com/samuelkadolph/s3cmd cd s3cmd && rake install
s3cmd create-bucket foo s3cmd put foo abc/def somefile