Download the latest version from http://s3tools.org/download
cd s3cmd
./s3cmd –configure
input your access Access Key ID: and Secret Access Key:
Answer other config options
./s3cmd put addressbook.xml s3://logix.cz-test/addrbook.xml
ref:
http://s3tools.org/s3cmd